Jump to content

#Teddy

Membru
  • Posts

    70
  • Joined

  • Last visited

  • Days Won

    2

Community Answers

  1. #Teddy's post in Cerere comanda factiune was marked as the answer   
    CMD:resetwanted(playerid,params[]) { if(PlayerInfo[playerid][pMember] != 17 || PlayerInfo[playerid][pLeader] != 17) return SendClientMessage(playerid,-1,"Nu faci parte din factiunea cu NR 17!"); PlayerInfo[playerid][pWanted] = 0; PlayerInfo[playerid][pJailed] = 0; PlayerInfo[playerid][pJailedTime] = 0; SetPlayerWantedLevel(playerid, 0); SendClientMessage(playerid, 0xFF0000AA, "Wanted resetat!"); return 1; }
  2. #Teddy's post in Ajutor comanda /factiuni was marked as the answer   
    Inlocuieste comanda cu asta, si-mi spui rezultatul.

    CMD:factiuni(playerid, params[]) { new members, tstring[550]; for(new xf = 0; xf < MAX_GROUPS; xf++) { if(strlen(groupVariables[xf][gGroupName]) >= 1 && strcmp(groupVariables[xf][gGroupName], "None", true)) {  new stringy2[256]; mysql_format(handle, stringy2, 256, "SELECT * FROM `playeraccounts` WHERE  `playerGroup` = '%d'", xf); new Cache: resultx = mysql_query (handle, stringy2); members = cache_get_row_count(); cache_delete(resultx); format(tstring, sizeof(tstring),"%s[%d/%d] %sn", tstring, members, groupVariables[xf][gSlots], groupVariables[xf][gGroupName]); } } ShowPlayerDialog(playerid, 4500, DIALOG_STYLE_LIST,"Factiuni", tstring, "Select", "Cancel"); SelFaction[playerid] = 0; return 1; }
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.