SA-MP Forums Archive
OnPlayerSpawn Not Called - 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: OnPlayerSpawn Not Called (/showthread.php?tid=529755)



OnPlayerSpawn Not Called - MBilal - 03.08.2014

OnPlayerSpawn Not Called My GM is DM GameMode I set Random Spawn OnPlayerSpawn not on OnPlayerSpawn Working but when player Press Spawn Button it Spawn to OnPlayerRequest Character Chose Position not to random position .

I try to Both return 1/0 OnPlayerSpawn Even I am Not Using Any Filterscript..


Re: OnPlayerSpawn Not Called - GeekSiMo - 03.08.2014

Send the OnPlayerSpawn Code :3


Re: OnPlayerSpawn Not Called - MBilal - 03.08.2014

here is the paste bin plz
nothing working OnPlayerSpawn Em not Using Any Fs
http://pastebin.com/2PkceM7W

plz help


Re: OnPlayerSpawn Not Called - Weaselpwns - 03.08.2014

Can't find any errors :/


Re: OnPlayerSpawn Not Called - MBilal - 03.08.2014

I try Every thing Copy GM and paste in new Pawno and compile and load server still same


Re: OnPlayerSpawn Not Called - Tamer - 03.08.2014

if(IsPlayerNPC(playerid)) return 1;

lol

So you want only NPC's to call this callback?

Either remove that or make it if(IsPlayerNPC(playerid)) return 0; or if(!IsPlayerNPC(playerid)) return 1;


Re: OnPlayerSpawn Not Called - MBilal - 03.08.2014

Still not work


Re: OnPlayerSpawn Not Called - Diti1 - 04.08.2014

hey dude
listen to me try this way
copy codes then create a new pawno but not with all codes only with that wich doesnt work and save it to filescripts after go at
Server.cfg or how it is called and add your filescript name and i think it is going work


Re: OnPlayerSpawn Not Called - MBilal - 04.08.2014

fix the Bug lolx
this Fucking Line
PHP код:
  //    if ( Player[playerid][pLeader]<1 )return Delete3DTextLabel( label[ playerid ] ); 
Fak Fixed but thanks Guyz for Helping


Re: OnPlayerSpawn Not Called - Diti1 - 04.08.2014

Hehe nice