Spawn points
#3

Lil' Tut for u^^

1.Go into your SAMP-Debug!
2.Then go to the place, where you want player X will get spawned!
3.Type /save [your favourite name]
4. Go to your GTA SA directory and open the file savedpositions.txt!
5.Go in your script, then jump to OnGameModeInit!
6.Write AddPlayerClass(skin,x co-ordinate,y co-ordinate,z co-ordinate, weapon1,ammo,weapon2,ammo,weapon3,ammo);

Replace them! Skins = Here
Weapons = HERE

Now to savedpositions! Your co-ordinates should look like this:

10.34,13.32,23.23,23.345

(ONLY LOOK LIKE THIS, YOURS ARE DIFFERENT!)

10.34 would be x
13.32 would be y
23.23 would be z

Copy and paste them in the places I told u! Ammo can be given by typing any number! For example 50 would be set, that a player has got 50 ammo with a weapon u wrote!

Also take a look at here, please!!!
https://sampwiki.blast.hk/wiki/PAWN_tutorial
Reply


Messages In This Thread
Spawn points - by Superthijs - 02.08.2011, 14:12
AW: Spawn points - by Drebin - 02.08.2011, 16:12
AW: Spawn points - by samtey - 02.08.2011, 16:47
Re: Spawn points - by Shockey HD - 02.08.2011, 16:56

Forum Jump:


Users browsing this thread: 1 Guest(s)