SPAWN problem
#1

How to i set my spawn where i want it?
Reply
#2

Look for AddPlayerClass in your script, or just add a setplayerpos.

https://sampwiki.blast.hk/wiki/AddPlayerClass
https://sampwiki.blast.hk/wiki/SetPlayerPos
Reply
#3

where to add this?
Reply
#4

AddPlayerClass is added under OnGameModeInit and SetPlayerPos depends on how you want it, for example in a command.
Reply
#5

can you give me the CODE i need copy and paste thanks
Reply
#6

Here:

Код:
AddPlayerClass(skin_id, spawn_x, spawn_y, spawn_z, facing_angle, weapon_1, weapon_1_ammo, weapon_2, weapon_2_ammo, weapon_3, weapon_3_ammo);

//In OnGameModeInit:
// People can spawn with either the CJ skin or The Truth skin.
AddPlayerClass(0, 1958.33, 1343.12, 15.36, 269.15, 26, 36, 28, 150, 0, 0);
AddPlayerClass(1, 1958.33, 1343.12, 15.36, 269.15, 26, 36, 28, 150, 0, 0);
Next time, try to do it on your own ...
Reply
#7

Thanks works but WHEN im driving in car then peoples get crashed any idea?
Reply
#8

Did he crashed when about to spawn, or when about to teleport to a place ?
Reply
#9

when get the car then PEOPLES SAY LAGS AND CRASHED HIS GAME
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)