Jump to content

Help with spawn point and spawn skin


ShadowRAZE

Recommended Posts

Posted

So guys, I need a little help with spawnpoint and spawn skin..

1.) How can I make ONLY one spawn point., and how will i obtain the coordinates?

2.) When player spawns, I want the skin be randomly picked from the following list (14,15,16,19,18,20,93,23)

3.) how can i make player spawn with a car and few weapons?

Call all this be achieved by editing the spawn manager?

I'm not a complete noob but I'm learning lua now so, any amount of help would mean a lot to me.

Thank You

Posted
onResourceStart 
onPlayerSpawn/Wasted 
spawnPlayer 
math.random 
setPlayerSkin 
createVehicle 
warpPedIntoVehicle 
giveWeapon 

^That if you want to script it by yourself. (Out of my head)

Posted

You don't event need the setPlayerSkin function. spawnPlayer has an argument to set the player model.

And btw.. setPlayerSkin in deprecated. You should use setElementModel instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...