27.10.2012, 18:33
i have some big bug a it happends to players constantly when player die he is still on foot and dont spawn on spawnplace
any help?
Код:
public OnPlayerDeath(playerid, killerid, reason) { SendDeathMessage(killerid, playerid, reason); if(killerid != INVALID_PLAYER_ID)GivePlayerMoney(playerid,1000); SetPlayerScore(killerid,GetPlayerScore(killerid)+1); SetPlayerScore(playerid,GetPlayerScore(playerid)-1); pInfo[killerid][Kills]++; pInfo[playerid][Deaths]++; return 1; }