OnPlayerSpawn bug?
#1

Whenever I join my server and click Spawn it shows me up 'Stay within the world boundries', wtf? I don't have anything in my OnPlayerSpawn.
Reply
#2

Are you using your own script?

make sure there is no boundaries in your script, if there is it will be interfering probably.
Reply
#3

Do you have AddPlayerClass Under your OnGameModeInit.
Reply
#4

Forgot about class, ty Lexi' !
Reply
#5

wiki.sa-mp.com/wiki/AddPlayerClass

pawn Код:
(skin, Float:x, Float:y, Float:z, Float:Angle, weapon1, weapon1_ammo, weapon2, weapon2_ammo, weapon3, weapon3_ammo)
skin    The skin which the player will spawn with.
Float:X The X coordinate of the spawnpoint of this class.
Float:Y The Y coordinate of the spawnpoint of this class.
Float:Z The Z coordinate of the spawnpoint of this class.
Float:Angle The direction in which the player should face after spawning.
weapon1 The first spawn-weapon for the player.
weapon1_ammo    The amount of ammunition for the primary spawnweapon.
weapon2 The second spawn-weapon for the player.
weapon2_ammo    The amount of ammunition for the second spawnweapon.
weapon3 The third spawn-weapon for the player.
weapon3_ammo    The amount of ammunition for the third spawnweapon.
pawn Код:
AddPlayerClass(skin, Float:x, Float:y, Float:z, Float:angle, weapon1, ammo1, weapon2, ammo2, weapon3, ammo3);
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)