Spawn
#1

Hello,after death showing me spawn button..So i did simple timer into OnPlayerDeath but when i die it spawn me 2 times...I dont know why.
PHP код:
//OnPlayerDeath
SetSpawnInfo(playerid,0,0,1109.2490,-1796.0345,16.5938,3.2391,0,0,0,0,0,0);
    
SetTimerEx("delayspawn",3000,false,"i",playerid);
    
SetPlayerWantedLevel(killerid,GetPlayerWantedLevel(killerid)+1); 
//public
PHP код:
public delayspawn(playerid)
{
     
SpawnPlayer(playerid);
     
SetPlayerHealth(playerid,100);
     return 
1;

Please help me ..
Reply


Messages In This Thread
Spawn - by IchNar - 31.07.2017, 06:02
Re: Spawn - by StrikerZ - 31.07.2017, 06:05
Re: Spawn - by IchNar - 31.07.2017, 07:06
Re: Spawn - by Fratello - 31.07.2017, 07:42
Re: Spawn - by IchNar - 31.07.2017, 07:53
Re: Spawn - by Fratello - 31.07.2017, 08:00
Re: Spawn - by Xeon™ - 31.07.2017, 08:50
Re: Spawn - by StrikerZ - 31.07.2017, 08:58
Re: Spawn - by IchNar - 31.07.2017, 15:53

Forum Jump:


Users browsing this thread: 1 Guest(s)