How to take away thief - 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: How to take away thief (
/showthread.php?tid=276921)
How to take away thief -
James_Bourne - 15.08.2011
Well,
What i want is take away the skill job Thief it can /rob but i want that other skill jobs and mechanic,medic,taxi driver can use /rob so i wanna take away thief im using Stevo's SF CnR how do i take away the skill job Thief and let's those i said /rob??
/rob id= robs a player.
Re: How to take away thief -
Sensitive - 15.08.2011
Dude, just remove the pickup where you can get this job. Easy.
Re: How to take away thief -
James_Bourne - 15.08.2011
huh?
Re: How to take away thief -
Kingunit - 15.08.2011
Quote:
Originally Posted by Sensitive
Dude, just remove the pickup where you can get this job. Easy.
|
That's not the best solution. Atleast tell him to remove the commands. Just adding
// infront of the Pickup isn't nice
Re: How to take away thief -
ElieJabbour - 16.08.2011
Remove the cmds, and remove the CreatePickup that shows the job Icon.
Re: How to take away thief -
James_Bourne - 16.08.2011
Elie will that make so that rapist and other skill job can use /rob?
Re: How to take away thief -
=WoR=Varth - 16.08.2011
I think all of them didn't get your point.
You want to remove Thief job and you want another job can do /rob, right?
Re: How to take away thief -
James_Bourne - 16.08.2011
i want to remove thief job and let the other skill jobs,taxi drivers,car mechanic have the abillity to use /rob.
Re: How to take away thief -
=WoR=Varth - 16.08.2011
I think you should ask it on that GM topic, but I'll help you as much as I can.
Show us the rob command code.
Re: How to take away thief -
James_Bourne - 16.08.2011
Код:
if(gTeam[playerid] == TEAM_THIEF)
{
ShowPlayerDialog(playerid,DIALOG_COMMANDS,DIALOG_STYLE_MSGBOX,"{0000FF}THIEF COMMANDS","{FFFFFF}/rob - Robs a player.\nYou can also see a list of General Commands with /gcommands.","Ok","Cancel");
format(string,sizeof(string),"4[ADMIN SPY] %s(%d) has typed /commands.",PlayerName(playerid),playerid);
IRC_GroupSay(gGroupAdminID,IRC_ADMINCHANNEL,string);
format(string,sizeof(string),"[ADMIN SPY] %s(%d) has typed /commands.",PlayerName(playerid),playerid);
SendClientMessageToAllAdmins(string);
that?