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
|
Quellcode
|
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