Job problem (IM PAYING) - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Job problem (IM PAYING) (
/showthread.php?tid=88484)
Job problem (IM PAYING) - killdahobo99 - 27.07.2009
I want to learn how to add jobs....
Can someone give me a quick thing on how to add jobs? so give me a police job, and i will add all the others by learning from yours.
I've looked through many topics and could not find anything.
So can someone just give me everything i need to be able to have a police officer on my server? so the skin ID where they appear when they spawn and like the overall team color and everything.
So a basic job thing, just for a police officer.
I will pay $2 Via paypal for the first person who is able to do this for me, Without any errors.
Re: Job problem -
stud4125 - 27.07.2009
i am wondering how to add jobs too some please help this guy
Re: Job problem - killdahobo99 - 27.07.2009
Anyone?
Re: Job problem (PAYING) -
Abernethy - 27.07.2009
Just use a Variable, eg.
pawn Код:
new JobPolice[MAX_PLAYERS];
if (strcmp("/announce", cmdtext, true, 9) == 0)
{
if (JobPolice[playerid] == 1)
{
if(cmdtext[9] == 0)
{
SendClientMessage(playerid, COLOR_WHITE, "USAGE: /announce [message]");
return 1;
}
new str[128];
GetPlayerName(playerid, str, sizeof(str));
format(str, sizeof(str), "San Andreas Police Announcement: %s [%s]", cmdtext[10], str);
SendClientMessageToAll(COLOR_ANNOUNCE, str);
}
return 1;
}
Something like that? You can make special things for only Police by checking with
pawn Код:
if (JobPolice[playerid] == 1)
Re: Job problem (PAYING) - killdahobo99 - 27.07.2009
I need like a whole cop team made for me, so i can learn and make my own teams from it.
So can you add everything i need and i will pay you for your script
Re: Job problem (PAYING) -
Abernethy - 27.07.2009
I can't be bothered & I don't have paypal either, just learn from that piece of code, I did.
Re: Job problem (PAYING) - killdahobo99 - 27.07.2009
Anyone else willing to post code that works ? I'm paying
Re: Job problem (IM PAYING) -
Paladin - 27.07.2009
Removed