OnPlayerCommandText
#8

hi,
Code:
public OnPlayerCommandText(playerid, cmdtext[])
{
   if(strcmp("/drylake", cmdtext, true, 10) == 0)
   {
       SetPlayerPos (playerid, -31,1464,15);
       SetPlayerInterior (playerid, 0);
       SendClientMessage(playerid,0x0080FFFF,"Welcome to Dry Lake, stupid noob!");
       return 1;
   }
   return SendClientMessage(playerid, COLOR, "Bad Command. Type /commands for available commands.");
how to make Pawncode
Reply


Messages In This Thread
OnPlayerCommandText - by G*Mafia - 05.03.2011, 07:11
Re: OnPlayerCommandText - by iMonk3y - 05.03.2011, 07:34
Re: OnPlayerCommandText - by Antonio [G-RP] - 05.03.2011, 07:36
Re: OnPlayerCommandText - by iMonk3y - 05.03.2011, 07:48
Re: OnPlayerCommandText - by G*Mafia - 05.03.2011, 08:18
Re: OnPlayerCommandText - by xir - 05.03.2011, 08:27
Re: OnPlayerCommandText - by G*Mafia - 05.03.2011, 08:39
Re: OnPlayerCommandText - by ilikenuts - 05.03.2011, 08:45
Re: OnPlayerCommandText - by xir - 05.03.2011, 08:47

Forum Jump:


Users browsing this thread: 3 Guest(s)