It repeats twice :( - 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)
+--- Thread: It repeats twice :( (
/showthread.php?tid=289259)
It repeats twice :( -
TheNavigator - 10.10.2011
Quote:
Welcome to Micro Life Roleplay, please fill in some information to proceed.
|
That sentence repeats twice while I made sure the command isn't repeated
Here's the whole callback
http://pastebin.com/xryEbvYA
I'm using Los Santos Roleplay Gamemode
Re: It repeats twice :( -
FireCat - 10.10.2011
Show me OnPlayerSpawn.
Because this is a different call back.
Re: It repeats twice :( -
TheNavigator - 10.10.2011
http://pastebin.com/vJj53NJ1
Re: It repeats twice :( -
TheNavigator - 13.10.2011
Any help please =(
Re: It repeats twice :( -
TheNavigator - 16.10.2011
Please help me
Re: It repeats twice :( -
Mr_Scripter - 17.10.2011
i don't see this .. Welcome to Micro Life Roleplay, please fill in some information to proceed.
is it in the pastebin yo posted?
Re: It repeats twice :( -
TheNavigator - 17.10.2011
Код:
SendClientMessage(playerid, COLOR_GREEN, "Welcome to Micro Life Roleplay, please fill in some information to proceed.");
Line 51
Re: It repeats twice :( -
Dripac - 17.10.2011
Does the player spawn when this message comes?
Re: It repeats twice :( -
TheNavigator - 17.10.2011
No
It asks for his gender
Re: It repeats twice :( -
Sinner - 17.10.2011
Maybe the callback is called twice?
Try debugging it see how many times it gets called
put this on the first line of "setPayerSpawn"
pawn Код:
print("setPlayerSpawn called!");
and see how many times it appears.