11.05.2017, 17:47
Hi,
First of all read this carefully (I'm 100 percent sure what i have done).
My problem is, anytime when i die or use command to kill myself it send me to class(skin selection)! It should spawn me instead! I'm 100 percent sure, I don't have anything in code what could cause this problem!
In OnPlayerSpawn i just have random spawns there and in kill command i just have setplayerhealth to 0, that's it!
First of all read this carefully (I'm 100 percent sure what i have done).
My problem is, anytime when i die or use command to kill myself it send me to class(skin selection)! It should spawn me instead! I'm 100 percent sure, I don't have anything in code what could cause this problem!
Код:
public OnPlayerDeath(playerid, killerid, reason) { GivePlayerMoney(killerid, 5000); PlayerInfo[killerid][deaths]++; PlayerInfo[playerid][kills]++; }