Advertisement
Antonio144

q

Apr 28th, 2011
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Pawn 0.54 KB | None | 0 0
  1. #define MAX_QWE 4
  2.  
  3. new QWERTZ[MAX_QWE]; //not to reveal the true name :)
  4. new bc;
  5.  
  6.     if (strcmp("/bc", cmdtext, true, 10) == 0)
  7.     {
  8.         if(QWERTZ[playerid] == MAX_QWE) //create cmd
  9.         {
  10.             SendClientMessage(playerid,RED,"You don't have any more QWE");
  11.             return 0;
  12.         }
  13.         GetPlayerPos(playerid,Float:x,Float:y,Float:z);
  14.         bc = CreatePlayerObject(playerid,1484,Float:x + 1,Float:y + 1,Float:z,0.0,0.0,0.0);
  15.         QWERTZ[playerid] = QWERTZ[playerid] + 1;
  16.     }
  17.  
  18.     if (strcmp("/dbc", cmdtext, true, 10) == 0) // destroy cmd
  19.     {
  20.         //What goes here? :)
  21.     }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement