Assigned Character Script (or whatever it's called)
#1

Hi, I have a question. Everybody keeps choosing characters they want, and my serv is a RPG one. Of course, You should have a job to be able to choose this character. My question is how to assign chosen people to one character? Hope you get my question, and can answer

Regards
Puzi
Reply
#2

OnPlayerSpawn, SetPlayerSkin
Reply
#3

Can i get more detail plz? I'm a newbie, so im not sure...Do you have to add to those lines %s ? Or what do you have to include to it?
Reply
#4

pawn Code:
public OnPlayerSpawn(playerid)
{
    if(job == job) //do whatever job you want
    {
        SetPlayerSkin(playerid, skinid);
    }
}
Good list of skins:
http://www.gtam.info/sampid/skiny_samp.php
Reply
#5

Oh, been on that website, but thx for link anyway. Hope that command works. First I gotta understand what's for what xD
Reply
#6

Code:
public OnPlayerSpawn(playerid) //Ten Public Odpowiada za Spawn
{
	return 1;
}
forward SetPlayerRandomSpawn(playerid);
public SetPlayerRandomSpawn(playerid)
{
new rand = random(sizeof(Spawny));
SetPlayerPos(playerid, Spawny[rand][0], Spawny[rand][1], Spawny[rand][2]); //
SetPlayerFacingAngle(playerid, 88.0);
return 1;
}
I have those lines, because script was made by someone else (my good friend SpeeD ). Anyway, where do I insert those lines you gave me?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)