Jump to content

KenyRPG

Member
  • Posts

    21
  • Joined

  • Last visited

Everything posted by KenyRPG

  1. C:\Users\ABC\OneDrive\Desktop\burned.ro\gamemodes\wa-rpg.pwn(24765) : warning 215: expression has no effect C:\Users\ABC\OneDrive\Desktop\burned.ro\gamemodes\wa-rpg.pwn(24765) : error 001: expected token: ";", but found "[" C:\Users\ABC\OneDrive\Desktop\burned.ro\gamemodes\wa-rpg.pwn(24765) : warning 217: loose indentation C:\Users\ABC\OneDrive\Desktop\burned.ro\gamemodes\wa-rpg.pwn(24765) : error 029: invalid expression, assumed zero C:\Users\ABC\OneDrive\Desktop\burned.ro\gamemodes\wa-rpg.pwn(24765) : warning 215: expression has no effect C:\Users\ABC\OneDrive\Desktop\burned.ro\gamemodes\wa-rpg.pwn(24765) : error 001: expected token: ";", but found "]" C:\Users\ABC\OneDrive\Desktop\burned.ro\gamemodes\wa-rpg.pwn(24765) : fatal error 107: too many error messages on one line LINIA 24765 : PlayerInfo[pCrates][type-1] += crate; } CMD:givecrateall(playerid, params[]) { new type, crate, szMessage[180]; if(PlayerInfo[playerid][pAdmin] < 7) return SCM(playerid, COLOR_GREY, "Nu esti autorizat sa folosesti aceasta comanda!"); if(sscanf(params, "ii", type, crate)) { SCM(playerid, COLOR_GREY, "Syntax: {FFFFFF}/givecrateall <type> <amount>"); SCM(playerid, COLOR_GREY, "Common Crate(1) | Rare Crate (2) | Mystic Crate (3) | Trans Crate (4)"); return true; } if(type < 1 && type > 4) return SCM(playerid, COLOR_GREY, "Invalid."); foreach(Player, i) { if(IsPlayerConnected(i) && IsPlayerLogged == 1) PlayerInfo[pCrates][type-1] += crate; if(type == 1) format(szMessage, sizeof(szMessage), "* Administratorul {F03636}%s{FFFFFF} ti-a dat %d Common Crate ca bonus!", GetName(playerid), crate); if(type == 2) format(szMessage, sizeof(szMessage), "* Administratorul {F03636}%s{FFFFFF} ti-a dat %d Rare Crate ca bonus!", GetName(playerid), crate); if(type == 3) format(szMessage, sizeof(szMessage), "* Administratorul {F03636}%s{FFFFFF} ti-a dat %d Mystic Crate ca bonus!", GetName(playerid), crate); if(type == 4) format(szMessage, sizeof(szMessage), "* Administratorul {F03636}%s{FFFFFF} ti-a dat %d Transcendent Crate ca bonus!", GetName(playerid), crate); SCM(i,COLOR_WHITE,szMessage); save_vouchers(i); } } return 1; }
×
×
  • Create New...