When player spawns...
#1

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!
Reply
#2

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
Reply
#3

Quote:
Originally Posted by MahdiGames
Посмотреть сообщение
Check if u have another scripts had OnPlayerSpawn
Nop, nothing.
Reply
#4

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 .
Reply
#5

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
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)