07.10.2011, 01:16
thanks for the post sorry for the let reply but i have just got round to adding this and i get errors:
Error:
never mind about the warnings
PHP код:
public OnPlayerDeath(playerid, killerid, reason){
SendDeathMessage(killerid,playerid,reason);
}
SetPlayerWantedLevel(playerid, 0);
SetPlayerWantedLevel(killerid, 6);
GivePlayerMoney(killerid, 15000);
GivePlayerMoney(playerid, -5000);
SetPlayerColor(killerid, 0xD60000FF);
SetPlayerColor(playerid, 0xFFFFFFFF);
SetPlayerHealth(killerid, 100);
SetPlayerArmour(killerid, 100);
SetPlayerScore(killerid,GetPlayerScore(killerid)+1);
SetPlayerScore(playerid,GetPlayerScore(playerid)-1);
return 1;
}
Код:
C:\Users\Unlimited DMers\Desktop\Fas FreeRoam\gamemodes\FasFR.pwn(114) : error 021: symbol already defined: "SetPlayerWantedLevel" C:\Users\Unlimited DMers\Desktop\Fas FreeRoam\gamemodes\FasFR.pwn(124) : error 010: invalid function or declaration C:\Users\Unlimited DMers\Desktop\Fas FreeRoam\gamemodes\FasFR.pwn(680) : warning 203: symbol is never used: "Server" C:\Users\Unlimited DMers\Desktop\Fas FreeRoam\gamemodes\FasFR.pwn(680) : warning 203: symbol is never used: "strtok" Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 2 Errors.