[Include] [INC]EasyNames
#7

Quote:
Originally Posted by MaaaaTT
so could i use this for things such as commands? like only Matt2127 can open the gate?
Yup

for example:

Code:
if(strcmp(cmdtext, "/opengate", true)==0)
{
  if(PlayerNameIs(playerid, "Matt2127"))
  {
    MoveObject(gate, blah blah blah);
    SendClientMessage(playerid, COLOR_GREEN, "Gate is now open!");
  }
  else
  {
    SendClientMessage(playerid, COLOR_RED, "Sorry, only Matt2127 is allowed to enter this gate!");
  }
  return 1;
}
Reply


Messages In This Thread
[INC]EasyNames - by Sandra18[NL] - 19.09.2008, 00:25
Re: [INC]EasyNames - by whooper - 19.09.2008, 00:46
Re: [INC]EasyNames - by bFe - 19.09.2008, 01:14
Re: [INC]EasyNames - by Yaheli_Faro - 19.09.2008, 09:09
Re: [INC]EasyNames - by Sandra18[NL] - 21.09.2008, 20:23
Re: [INC]EasyNames - by matt2127 - 21.09.2008, 22:29
Re: [INC]EasyNames - by Sandra18[NL] - 22.09.2008, 00:28
Re: [INC]EasyNames - by Donuts - 22.09.2008, 16:26
Re: [INC]EasyNames - by ғαιιοцт - 22.09.2008, 16:44
Re: [INC]EasyNames - by Jerry - 22.09.2008, 20:45
Re: [INC]EasyNames - by Sandra18[NL] - 22.09.2008, 22:30
Re: [INC]EasyNames - by Kinetic - 22.09.2008, 23:56
Re: [INC]EasyNames - by Sandra18[NL] - 23.09.2008, 00:54
Re: [INC]EasyNames - by Extremo - 23.09.2008, 00:56
Re: [INC]EasyNames - by Byrner - 23.09.2008, 15:22
Re: [INC]EasyNames - by Google63 - 23.09.2008, 15:45
Re: [INC]EasyNames - by Sandra18[NL] - 23.09.2008, 17:43
Re: [INC]EasyNames - by Byrner - 23.09.2008, 20:46
Re: [INC]EasyNames - by Sandra18[NL] - 23.09.2008, 21:05
Re: [INC]EasyNames - by Byrner - 24.09.2008, 17:47
Re: [INC]EasyNames - by Byrner - 24.09.2008, 20:08
Re: [INC]EasyNames - by Byrner - 24.09.2008, 22:12
Re: [INC]EasyNames - by Byrner - 26.09.2008, 13:02
Re: [INC]EasyNames - by mickEi[Ro] - 27.09.2008, 13:36
Re: [INC]EasyNames - by Sandra18[NL] - 27.09.2008, 23:00
Re: [INC]EasyNames - by mickEi[Ro] - 28.09.2008, 08:11
Re: [INC]EasyNames - by Byrner - 28.09.2008, 11:21
Re: [INC]EasyNames - by Byrner - 06.10.2008, 14:11
Re: [INC]EasyNames - by mickEi[Ro] - 13.10.2008, 07:22
Re: [INC]EasyNames - by Byrner - 13.10.2008, 08:58
Re: [INC]EasyNames - by Rozzie - 13.10.2008, 14:25
Re: [INC]EasyNames - by HB - 14.10.2008, 16:38
Re: [INC]EasyNames - by mascii - 25.11.2008, 10:31
Re: [INC]EasyNames - by Klutty - 12.04.2009, 20:12
Re: [INC]EasyNames - by Sandra18[NL] - 12.04.2009, 21:18
Re: [INC]EasyNames - by Weirdosport - 12.04.2009, 23:33

Forum Jump:


Users browsing this thread: 6 Guest(s)