Recent Posts
None | 20 sec ago
None | 39 sec ago
Diff | 42 sec ago
None | 1 min ago
Java | 1 min ago
ASM (NASM) | 1 min ago
None | 1 min ago
None | 2 min ago
None | 2 min ago
Java | 2 min ago
Sitereport
Find cool info about any domain on the internet?
visit sitereport
Free Subdomains
Want a pastebin.com sub-domain for your community?
learn more...
What is pastebin?
Pastebin is a website that hosts all your text & code on dedicated servers for easy sharing.
learn more...
Learn a little bit about the new Pastebin.com on our help page. hide message
By Anonymous on the 4th of Jul 2009 06:32:39 PM Download | Raw | Embed | Report
  1. if(strcmp(cmd,"/venderarmas",true) == 0)
  2. {
  3.         new plid;
  4.         tmp = strtok(cmdtext,idx);
  5.         plid = strval(tmp);
  6.         if(!strlen(tmp))
  7.         {
  8.         SendClientMessage(playerid, COLOR_RED,"/venderarmas [ID]");
  9.         return 1;
  10.         }
  11.         if(Gang[playerid] == ASSASSINOS || IsPlayerAdmin(playerid))
  12.         {
  13.                 if(packarmas[plid] == 0)
  14.                 {
  15.                         GivePlayerWeapon(plid,25,9999);
  16.                         GivePlayerWeapon(plid,32,9999);
  17.                         GivePlayerWeapon(plid,30,9999);
  18.                         GivePlayerWeapon(plid,24,9999);
  19.                         GivePlayerWeapon(plid,4,9999);
  20.                         GivePlayerWeapon(plid,34,9999);
  21.                         SendClientMessage(playerid,COLOR_ASSASSINOS,"Pack de armas Vendido :)");
  22.                         SendClientMessage(plid,COLOR_YELLOW,"Você Recebeu Armas.");
  23.                         packarmas[plid] = 1;
  24.                 }
  25.                 else
  26.                 {
  27.                         return SendClientMessage(playerid,COLOR_ASSASSINOS,"O Indivíduo já tem Pack de armas ¬¬");
  28.                 }
  29.         }
  30.         else
  31.         {
  32.                 return SendClientMessage(playerid,COLOR_ASSASSINOS,"Você nao é um Assassino ou Admin.");
  33.         }
  34.         return 1;
  35. }
Submit a correction or amendment below. Make A New Post
To highlight particular lines, prefix each line with @h@
Syntax highlighting:
Post expiration:
Post exposure:
Name / Title:
Email: