SA-MP Forums Archive
:::Commmands in my gamemode, how? (Who can help me ???)::: - 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: :::Commmands in my gamemode, how? (Who can help me ???)::: (/showthread.php?tid=66719)



:::Commmands in my gamemode, how? (Who can help me ???)::: - Battlaman - 23.02.2009

I have a question
Can anybody make the police commands: /cuff [ID] ,/arrest [ID] ,/stun ,/ticket [ID] [AMOUT] [REASON] in my gamemode.
I do not know how to make the commands in my gamemode.

Can anybody please do that for me?? (everythink you need is under this message in the .rar file)
If you will do that for me: thanks! (i really need this)

Battleman (srry for my bad english)

My mail adres: mva0001@hotmail.com (If you have place the commands in my gamemode, can you then it send to me back?)

----------
This is all what you need:http://www.megaupload.com/?d=K4JG692S ( server + code commands)


Re: :::Commmands in my gamemode, how? (Who can help me ???)::: - MenaceX^ - 23.02.2009

Script Request thread.
Also take a quick /cuff
pawn Код:
if(!strcmp(cmd,"/cuff",true))
{
cmd=strtok(cmdtext,idx);
if(!strlen(cmd)) return SendClientMEssage(playerid,COLOR_GREY,"USAGE: /cuff playerid");
id=ReturnUser(cmd);
if(!IsPlayerConnected(id)) return SendClientMessage(playerid,COLOR_GREY,"Invalid player id.");
TogglePlayerControllable(id,0);
GameTextForPlayer(id, "~y~ hand cuffs!",2500,3);
return true;
}



Re: :::Commmands in my gamemode, how? (Who can help me ???)::: - Battlaman - 24.02.2009

Quote:
Originally Posted by MenaceX^
Script Request thread.
Also take a quick /cuff
pawn Код:
if(!strcmp(cmd,"/cuff",true))
{
cmd=strtok(cmdtext,idx);
if(!strlen(cmd)) return SendClientMEssage(playerid,COLOR_GREY,"USAGE: /cuff playerid");
id=ReturnUser(cmd);
if(!IsPlayerConnected(id)) return SendClientMessage(playerid,COLOR_GREY,"Invalid player id.");
TogglePlayerControllable(id,0);
GameTextForPlayer(id, "~y~ hand cuffs!",2500,3);
return true;
}
The commandos sit already in the .rar file
I don't know how to make the commands in the server