Posts: 1,504
Threads: 109
Joined: Jan 2012
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!
Posts: 284
Threads: 77
Joined: Nov 2013
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
Posts: 1,504
Threads: 109
Joined: Jan 2012
Quote:
Originally Posted by MahdiGames
Check if u have another scripts had OnPlayerSpawn
|
Nop, nothing.
Posts: 2,041
Threads: 97
Joined: Jun 2013
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 .
Posts: 1,504
Threads: 109
Joined: Jan 2012
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