Password Gates Problem
#7

pawn Код:
COMMAND:gate(playerid, params[])
{
        if(!IsPlayerInRangeOfPoint(playerid,10.0,246.0052,-1806.2119,4.4689,178.5597)) return SendClientMessage(playerid,-1, "You aren't near any gate!");
      if(strlen(params) < 22) return SendClientMessage(playerid,-1,"Usage: /gate [password]");
      if(strcmp(params[22],password,true)) return SendClientMessage(playerid,-1,"Wrong Password!");
  return 1;
}
not tested
Reply


Messages In This Thread
Password Gates Problem - by Ryan_Obeles - 10.03.2012, 23:48
AW: Password Gates Problem - by Ryan_Obeles - 11.03.2012, 01:13
AW: Password Gates Problem - by Ryan_Obeles - 11.03.2012, 01:30
Re: Password Gates Problem - by Reklez - 11.03.2012, 01:35
AW: Password Gates Problem - by Ryan_Obeles - 11.03.2012, 05:05
AW: Password Gates Problem - by Ryan_Obeles - 11.03.2012, 05:07
Re: Password Gates Problem - by misho1 - 11.03.2012, 08:47

Forum Jump:


Users browsing this thread: 3 Guest(s)