RolePlay Job scripts
#1

Hello. For last 7 months I've been amazed and fascinated by roleplay servers. and when a server on which I played Shut down, because of hacker group which managed to ruin the server and everything, I decided why not learn pawno. Now what I wanna learn, is how to make jobs. I have an idea in my mind but I'm not sure if it's any good, and if there is a better way. My idea is:

PHP Code:
new job[MAX_PLAYERS
PHP Code:
CMD:somejob(playeridparams[])
{
if(
job[playerid] = 1) return SendClientMessage(playeridcolor_red"You already have a job");
if(!
IsPlayerInRangeOfPoint(playeridrange,x,y,z)) return SendClientMessage(playeridcolor_red"You're not near blabla");
if(
IsPlayerInRangeOfPoint(playeridrange,x,y,z))
{
job[playerid] = 1;
SetPlayerCheckpoint(playeridcoords);
}
return 
1;

Thats my half- idea how to make a job. Now take in consideration that I'm very new to scripting so. Do not paste a code just explain how can I make one, with this my method
Reply


Messages In This Thread
RolePlay Job scripts - by Bek_Loking - 24.06.2014, 01:35
Re: RolePlay Job scripts - by Amel_PAtomAXx - 24.06.2014, 02:18
Re: RolePlay Job scripts - by Bek_Loking - 24.06.2014, 15:17
Re: RolePlay Job scripts - by DaniceMcHarley - 24.06.2014, 15:43
Re: RolePlay Job scripts - by Cena44 - 24.06.2014, 15:45
Re: RolePlay Job scripts - by Bek_Loking - 24.06.2014, 22:46

Forum Jump:


Users browsing this thread: 1 Guest(s)