SA-MP Forums Archive
Little Prolem - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Little Prolem (/showthread.php?tid=186521)



Little Prolem - edgarsb13 - 29.10.2010

Sometimes on my server after relog when I wanna spawn i die! Someone know what's the problem


Re: Little Prolem - i514x - 29.10.2010

sometimes this occures when you jump from like a building and type /kill + you kill yourself when you hit the ground.

try to look for a function SetPlayerHealth(playerid, 0); or something like that in your map


Re: Little Prolem - Mystique - 29.10.2010

If you don't have this SetPlayerHealth(playerid, 0); added you could always try to input SetPlayerHealth(playerid, 100);


Re: Little Prolem - SampStunta - 29.10.2010

Remove SetPlayerHealth(playerid, 0);
From public SetPlayerSpawn()


Re: Little Prolem - i514x - 29.10.2010

Quote:
Originally Posted by SampStunta
Посмотреть сообщение
Remove SetPlayerHealth(playerid, 0);
From public SetPlayerSpawn()
well he said sometimes so i dont think it will be there, i think it happenes when like a player got some status or something


Re: Little Prolem - SampStunta - 29.10.2010

Ah okay, just noticed that.

The following errors occurred with your submission:
This forum requires that you wait 120 seconds between posts. Please try again in 38 seconds.


Re: Little Prolem - i514x - 29.10.2010

edgarsb13 give us you're OnPlayerSpawn callback and all functions that are used in there


Re: Little Prolem - edgarsb13 - 29.10.2010

I need to add all the code OnPlayerSpawn


Re: Little Prolem - SampStunta - 29.10.2010

Yes, if you could..
But with these tags:
[ pawn] [ /pawn]

The following errors occurred with your submission:
This forum requires that you wait 120 seconds between posts. Please try again in 37 seconds.


Re: Little Prolem - i514x - 29.10.2010

well if you could, then maybe we could solve your problem