Jump to content

WiLi11

Membru
  • Posts

    2
  • Joined

  • Last visited

    Never

WiLi11's Achievements

Newbie

Newbie (1/14)

  • First Post
  • Conversation Starter
  • Week One Done
  • One Month Later
  • One Year In

Recent Badges

0

Reputation

  1. Nick:WiLi Problema: Cand player-ul incearca sa de-a /bail nu merge... adica nu se intampla nimic. Erori / warnings:= Lini/script:[pawn]if(strcmp(cmd, "/bail", true) == 0) { if(IsPlayerConnected(playerid)) { if(PlayerInfo[playerid][pJailed]==1) { if(JailPrice[playerid] > 0) { if(GetPlayerMoney(playerid) > JailPrice[playerid]) { format(string, sizeof(string), "You bailed yourself out for: $%d", JailPrice[playerid]); SendClientMessage(playerid, COLOR_LIGHTBLUE, string); GivePlayerMoney(playerid, -JailPrice[playerid]); JailPrice[playerid] = 0; WantLawyer[playerid] = 0; CallLawyer[playerid] = 0; PlayerInfo[playerid][pJailTime] = 1; } else { SendClientMessage(playerid, COLOR_GRAD1, " You can't afford the Bail Price !"); } } else { SendClientMessage(playerid, COLOR_GRAD1, " You don't have a Bail Price !"); } } else { SendClientMessage(playerid, COLOR_GRAD1, " You are not in Jail !"); } }//not connected return 1; }[/pawn] Ai incercat sa rezolvi singur ?:Da,dar nu stiu ce are...
  2. Nick:WiLi Problema: Cand dau /wanted nu-mi apar jucatorii care au wanted pe server Erori / warnings:- Lini/script: if(strcmp(cmd, "/wanted", true) == 0) { if(IsPlayerConnected(playerid)) { if(gTeam[playerid] == 2 || IsACop(playerid) || (PlayerInfo[playerid][pAdmin] >= 7)) { new x; SendClientMessage(playerid, COLOR_2RED, "{F3FF02}|____ Suspectii SERVER ____|"); for(new i=0; i < MAX_PLAYERS; i++) { if(IsPlayerConnected(i)) { if(WantedLevel > 0) { GetPlayerName(i, giveplayer, sizeof(giveplayer)); format(string, sizeof(string), "{F3FF02}%s%s are Wanted %d", string,giveplayer,WantedLevel); x++; if(x > 3) { SendClientMessage(playerid, COLOR_YELLOW, string); x = 0; format(string, sizeof(string), ""); } else { format(string, sizeof(string), "%s, ", string); } } } } if(x <= 3 && x > 0) { string[strlen(string)-2] = '.'; SendClientMessage(playerid, COLOR_YELLOW, string); } } else { SendClientMessage(playerid, COLOR_2RED, " Nu esti in PD/NG/FBI !"); } }//not connected return 1; } Ai incercat sa rezolvi singur ?:Da, am reusit sa rezolv o parte,adica aparea /wanted-ul doar la cei care luau wanted cu comanda /su ... Mai sus este o versiune mai veche
×
×
  • 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.