14.02.2012, 14:15
Hi all. I created this for OnPlayerDeath callback
And when i kill something I have crash ,kick.
Function stock:
I know I do something wrong ?
Код:
LaimejoKova(killerid);
Function stock:
Код:
stock LaimejoKova(playerid) { if(ArDalyvaujaBokse[playerid]) { zInfo[playerid][Atlyginimas]+=200; ArDalyvaujaBokse[playerid]=false; ArVykstaBoksas=0; Atsiradimas=0; new msg[88]; format(msg,88, "[SERVERIS]: {E0E0E0}Baigėsi kova bokso klube laimėtojas %s" ,PlayerName(playerid) ); SendClientMessageToAll(0xFF80C0FF,msg); GameTextForPlayer(playerid,"g~Laimėjote kova~n~~w~Prie atlyginimo prideta ~g~200 Lt", 5000, 5); SetPlayerHealth(playerid,100.0); } }