{Help} Skin
#1

can someone tell me how to make it so people on my server don't spawn as the same skin but different ones and people spawn at the hospital when they die and cop station when there arrested thank you
Reply
#2

In OnPlayerSpawn callback:
pawn Код:
new rSkin = random(299);
SetPlayerSkin(playerid,rSkin);
Reply
#3

Quote:
Originally Posted by Zimon95
In OnPlayerSpawn callback:
pawn Код:
new rSkin = random(299);
SetPlayerSkin(playerid,rSkin);
Should work perfectly, Use it on
pawn Код:
OnPlayerSpawn
Reply
#4

Nice nice if its not to much to ask how do you make it so they spawn at hospital when they die to i put the same thing in onplayerdeath? i am asking these questions because i am trying to learn more important stuff cuz i am a noob
Reply
#5

Quote:
Originally Posted by MatthewGarrowo
spawn at hospital when they die
Just use
pawn Код:
SetPlayerPos(playerid,0.0,0.0,0.0);//the hospital coordinates..
when the player dies, simple.
Reply
#6

oh so its just like when you /save in dedug and get the plyer cords nice ok i understand thanks
Reply
#7

Quote:

Just use
PAWN Code:

SetPlayerPos(playerid,0.0,0.0,0.0);//the hospital coordinates..


when the player dies, simple.

It wont work... The player will die tele at hospital and then spawn again at other place
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)