When player spawns... - 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: When player spawns... (
/showthread.php?tid=491008)
When player spawns... -
Onfroi - 28.01.2014
So I've been trying to fix this bug for 2 days now and still no progress. The problem is when ever I login and spawn this happens..
The code OnPlayerSpawn is
pawn Код:
SetPlayerPos(playerid, 1094.4108,-2036.9313,82.7598);
I'm a little rusty on pawn, so does anybody knows how to fix this?
Any help would be appreciated, Thanks!
Re: When player spawns... -
MahdiGames - 28.01.2014
Check if u have another scripts had OnPlayerSpawn
_________________
xXx Stunt Paradise Awesome
Server IP:
Click Here!
Hosted Tab Game-MP for 10 Euro / per month
Hosted Tab + Server host 50 slots + Control Panel for 15 Euro
Skype:
MahdiAsali
€10 Euro for Hosted List
Respuesta: Re: When player spawns... -
Onfroi - 28.01.2014
Quote:
Originally Posted by MahdiGames
Check if u have another scripts had OnPlayerSpawn
|
Nop, nothing.
Respuesta: When player spawns... -
Swedky - 29.01.2014
In 'OnGameModeInit':
pawn Код:
AddPlayerClass(...); // Code
The problem is that on having spawned, no Skin is assigned to the player, therefore it appears. Then the solution is to use 'AddPlayerClass' in the GM.
Regards .
Respuesta: When player spawns... -
Onfroi - 29.01.2014
Quote:
Originally Posted by EnzoMetlc
In 'OnGameModeInit':
pawn Код:
AddPlayerClass(...); // Code
The problem is that on having spawned, no Skin is assigned to the player, therefore it appears. Then the solution is to use 'AddPlayerClass' in the GM.
Regards .
|
Thank you very much! It works now