SA-MP Forums Archive
Player Spawn Bug - 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: Player Spawn Bug (/showthread.php?tid=269597)



Player Spawn Bug - mastalol - 17.07.2011

when i select my class and spawn all i see is grey, until i warp or use a teleport cleo mod to teleport to get away from spawn... here is my spawn code:

http://pastebin.com/EstAgEHb

any help or if you would like to see what i mean just post below ill pm you details...


Re: Player Spawn Bug - lolumadd_ - 17.07.2011

pawn Code:
public OnPlayerSpawn(playerid)
{
SetPlayerVirtualWorld(playerid, 0);
SetPlayerInterior(playerid, 0);
return 1;
}
And make sure the spawn coordinates are correct.


Re: Player Spawn Bug - mastalol - 17.07.2011

Quote:
Originally Posted by lolumadd_
View Post
pawn Code:
public OnPlayerSpawn(playerid)
{
SetPlayerVirtualWorld(playerid, 0);
SetPlayerInterior(playerid, 0);
return 1;
}
And make sure the spawn coordinates are correct.
UGH! I Totally forgot about that LOL!, thanks man, once again you saved ma azz lol, just to let you know im not a complete noob in scripting i can do simple but im just learning, im trying my best not to annoy ppl lol.
you have to give me credit iv wrote my own simple dm gamemode lol.