how i make job
#2

you can get player job with a variable like this

pawn Код:
new job1[MAX_PLAYERS];
pawn Код:
CMD:takejob1(playerid, params[])
{
job1[playerid] = 1;
SendClientMessage(playerid, -1, "You have now job1!");
return 1;
}
and for make cmd for player with job1 use:

pawn Код:
CMD:job(playerid, params[])
{
if(job1[playerid] == 1)
{
functions
}
else
{
SendClientMessage(playerid, -1, "You aren't a ...");
}
return 1;
}
Reply


Messages In This Thread
how i make job - by TheDiscussionCafe - 20.05.2012, 14:43
Re: how i make job - by IRio97 - 20.05.2012, 14:47
Re: how i make job - by iGetty - 20.05.2012, 14:54
Re: how i make job - by TheDiscussionCafe - 20.05.2012, 14:58
Re: how i make job - by iGetty - 20.05.2012, 15:01
Re: how i make job - by [ABK]Antonio - 20.05.2012, 15:08
Re: how i make job - by TheDiscussionCafe - 20.05.2012, 15:25

Forum Jump:


Users browsing this thread: 1 Guest(s)