Player Spawn Everywhere
#1

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


Reply
#2

Have a look at your SetSpawnInfo's, you set the coordinates to 0.0,0.0,0.0 ...
Reply
#3

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;
Reply
#4

And that what you just posted, doesn't work?
Reply
#5

SALVA ! It's not under OnPlayerSpawn ! It's under SetPlayerSpawn
Reply
#6

this is my setplayerspawn

http://pastebin.com/m197ba0d1
Reply
#7

Quote:
Originally Posted by Danut
SALVA ! It's not under OnPlayerSpawn ! It's under SetPlayerSpawn
no .. only bei /login then the playerspawn everywhere ..
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)