SA-MP Forums Archive
A simple job - 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)
+--- Thread: A simple job (/showthread.php?tid=382201)



A simple job - 0utLaW_ - 02.10.2012

hello, i have no idea how to start off with a job right now,
so i wanted to make a army class for the server, which they can acquire when a player has over 5000 score.
army has some rights and features like their own chat
some thing like /army <text>
and they can buy guns only army people can buy guns like RPG AND Flamethrower besides i want a class for them on spawn screen please help me anyone, i had searched a lot but foind nothing..

and ihave not idea how to start it of please help.


Re: A simple job - niels44 - 02.10.2012

https://sampforum.blast.hk/showthread.php?tid=160810

to make classes, and for that command you should use soemthing like:
pawn Код:
if(gTeam[playerid] != ARMYTEAM) return SendClientMessage(playerid, 0xFF0000FF, "ERROR: you are not a army member");
else
{
// show the dialog for the army here, with the weapons they can get
return 1;
}
this should be the basic i guess