You are not logged in.

1

Sunday, January 2nd 2011, 8:36pm

brauche hilfe bei l4d1 code

hi
ich hoffe das einer von euch ,mir den nachfolgenden code so vervollstaendigen kann ,das infected fuer einen survivor kill punkte bekommt... im moment bekommen nur survivor punkte fuer einen infected kill

Source code

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
public Action:InfectedKill(Handle:event, String:event_name[], bool:dontBroadcast)
{
	new client = GetClientOfUserId(GetEventInt(event, "userid"));
	new attacker = GetClientOfUserId(GetEventInt(event, "attacker"));
	if (attacker > 0 && attacker < PLAYERS + 1)
	{
	if (client > 0 && client < PLAYERS + 1)
	{
	if (pointsteam[attacker] == SURVIVORTEAM)
	{
	if (pointsteam[client] != SURVIVORTEAM)
	{
	if(pointson)
	{
	PrintToChat(attacker, "[SM] Killed Special Infected: %d Point(s)",GetConVarInt(pointsspecial));
	points[attacker] += GetConVarInt(pointsspecial);
	}


es geht nur um diesen code ,den rest bekommt ich hin...

thx schonmal

mfg
piefke

2

Wednesday, January 19th 2011, 6:52pm

Re: brauche hilfe bei l4d1 code

hat sich erledigt ...kann geschlossen werden