Setting like some spawns
#1

Hey!

I'm making my first stunt server! And i'm testing it a little, but i want the players to only spawn at lv,sf,ls nothing else. But like sometime when i die i spawn in lv casino shit, like how do i make so the players ONLY spawn at lv/Sf/ls airport?

I got all the coords and stuff so dont need to teach me that

also! when you start it like so you only can choose skin 0 (CJ), how do i make so you can choose what skin u want?

wish me luck with my server
Reply
#2

is it hard?
Reply
#3

hello?
Reply
#4

Check OnPlayerSpawn callback. There should be your problem.
Reply
#5

Hello,
Quote:

also! when you start it like so you only can choose skin 0 (CJ), how do i make so you can choose what skin u want?

You know you change add more skins in your scripts, just need to add the skins id's if you don't know use the wiki-samp(https://sampwiki.blast.hk/wiki/Skins:All) when you will have the id's of your skins go to samp_debug. this programs is in your GTA:SA folders, then go at the position you want the players spawn and type
Код:
/save
this commands will save your position you can also find this positions at your
Код:
GTA User Files => SAMP => savedpositions.txt
You will have a code like that one :
pawn Код:
AddPlayerClass(0, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
// 0 = CJ Skins, 1958.3783, 1343.1572, 15.3746= Coordinates where he will spawn..
Sorry for the bad english ^^.
Reply
#6

These are some of the basic elements of scripting. I'd suggest you read up on some of the basics before you go ahead and script a full stunting server.

Good luck!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)