Help with DM - 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: Help with DM (
/showthread.php?tid=146364)
Help with DM -
ViruZZzZ_ChiLLL - 07.05.2010
Question : How can I make a player not use any commands, other than /kill
in DM zones
Problem : I forgot how to to that
________
Daihatsu Taft Specifications
Re: Help with DM -
MWF2 - 07.05.2010
Umm i'll try taking a guess
onplayerconnect:
onplayerdisconnect:
Then when they try to do a command add this in the command
pawn Код:
if(DMZONE[playerid] == 1) {
SendClientMessage(playerid, COLOR_ERROR, "You cannot use this command in a DM ZONE");
return 1;
}
Re: Help with DM -
dcmd_crash - 07.05.2010
As above said, but .. make sure your /kill command and any others you want the player to be able to use in DM are above:
pawn Код:
if(DMZONE[playerid] == 1) {
SendClientMessage(playerid, COLOR_ERROR, "You cannot use this command in a DM ZONE");
return 1;
}