Player Spawn Everywhere - 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 Everywhere (
/showthread.php?tid=67389)
Player Spawn Everywhere -
Salva - 01.03.2009
SRY 4 MY BAD ENGLISH !!! I'M FROM GERMANY !!!
Hey Scripter,
I have a problem, Whoever, cop, taxidriver, fbi, all spawn everywhere, i try to fix this bug by onplayerspawn, but without success, i hope anyone can help me .. in the german samp forum nobody can help me, so i think anyone can help me here.
here is onplayerspawn(its in german) :
http://pastebin.com/m4a80d443
Yours sincerely
Re: Player Spawn Everywhere -
Streetplaya - 01.03.2009
Have a look at your SetSpawnInfo's, you set the coordinates to 0.0,0.0,0.0 ...
Re: Player Spawn Everywhere -
Salva - 01.03.2009
For example, here Cop
}
if (PlayerInfo[playerid][pMember] == 1 || PlayerInfo[playerid][pLeader] == 1 )//Los Santos Polizei Spawnpoint
{
SetPlayerToTeamColor(playerid);
SetPlayerInterior(playerid, 3);
SetPlayerPos(playerid, 198.4080,168.3830,1003.0234);
PlayerInfo[playerid][pInt] = 0;
return 1;
Re: Player Spawn Everywhere -
Rks25 - 01.03.2009
And that what you just posted, doesn't work?
Re: Player Spawn Everywhere -
Danut - 01.03.2009
SALVA ! It's not under OnPlayerSpawn ! It's under
SetPlayerSpawn
Re: Player Spawn Everywhere -
Salva - 01.03.2009
this is my setplayerspawn
http://pastebin.com/m197ba0d1
Re: Player Spawn Everywhere -
Salva - 02.03.2009
Quote:
Originally Posted by Danut
SALVA ! It's not under OnPlayerSpawn ! It's under SetPlayerSpawn
|
no .. only bei /login then the playerspawn everywhere ..