Share Pastebin
Guest
Public paste!

HELP

By: a guest | Sep 2nd, 2010 | Syntax: PAWN | Size: 0.46 KB | Hits: 38 | Expires: Never
Copy text to clipboard
  1. #include <a_samp>
  2.  
  3. #if defined FILTERSCRIPT
  4.  
  5. new Float:X[2], Float:Y[2], Float:Z;
  6.  
  7. public OnPlayerCommandText(playerid, cmdtext[])
  8. {
  9.         if (strcmp("/mas", cmdtext, true, 10) == 0)
  10.         {
  11.                 SendClientMessage(playerid,0xAA3333AA, "(INFO) Welcome to GTA ROLEPLAY HELP command!");
  12.                 return 1;
  13.         }
  14.  
  15.         if (strcmp("/m1", cmdtext, true, 10) == 0)
  16.         {
  17.                 GetPlayerPos(playerid,x,y,z);
  18.                 CreateObject(3113,X,Y,Z,0,0,0);
  19.                 return 1;
  20.         }
  21.         return 0;
  22. }
  23. #endif