Problem With Spawn Player - 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: Problem With Spawn Player (
/showthread.php?tid=104909)
Problem With Spawn Player -
Matimor - 26.10.2009
Hello, I have a problem with the new version sampa. I have OnPlayerLogin and it features SpawnPlayer, I do not know why but you have to click after logging in to start the game Spawn, version 0.2x I did not have this problem, spawnowało players automatically.
Код:
SetSpawnInfo(playerid, PlayerInfo[playerid][pTeam], PlayerInfo[playerid][pModel], PlayerInfo[playerid][pPos_x], PlayerInfo[playerid][pPos_y], PlayerInfo[playerid][pPos_z], 1.0, -1, -1, -1, -1, -1, -1);
SpawnPlayer(playerid);
Please Help :/