OnPlayerDeath + Spawn
#1

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!

Код:
public OnPlayerDeath(playerid, killerid, reason)
{
    GivePlayerMoney(killerid, 5000);
    PlayerInfo[killerid][deaths]++;
    PlayerInfo[playerid][kills]++;
}
In OnPlayerSpawn i just have random spawns there and in kill command i just have setplayerhealth to 0, that's it!
Reply


Messages In This Thread
OnPlayerDeath + Spawn - by Hunud - 11.05.2017, 17:47
Re: OnPlayerDeath + Spawn - by Abagail - 11.05.2017, 17:51
Re: OnPlayerDeath + Spawn - by Hunud - 11.05.2017, 18:20
Re: OnPlayerDeath + Spawn - by Hunud - 11.05.2017, 20:13
Re: OnPlayerDeath + Spawn - by Vince - 11.05.2017, 20:22
Re: OnPlayerDeath + Spawn - by Hunud - 11.05.2017, 20:41
Re: OnPlayerDeath + Spawn - by Hunud - 12.05.2017, 08:01
Re: OnPlayerDeath + Spawn - by ShihabSoft - 12.05.2017, 14:25
Re: OnPlayerDeath + Spawn - by Juvanii - 12.05.2017, 15:41
Re: OnPlayerDeath + Spawn - by Hunud - 12.05.2017, 17:28

Forum Jump:


Users browsing this thread: 3 Guest(s)