Jump to content

bitza

Membru
  • Posts

    17
  • Joined

  • Last visited

bitza's Achievements

Contributor

Contributor (5/14)

  • First Post
  • Collaborator
  • Conversation Starter
  • Week One Done
  • One Month Later

Recent Badges

0

Reputation

  1. Frumos FS!Continua tot asa!
  2. [pawn]//----------------------------------[MAKELEADER]------------------------------------------------ if(strcmp(cmd, "/makeleader", true) == 0) { if(IsPlayerConnected(playerid)) { tmp = strtok(cmdtext, idx); if(!strlen(tmp)) { SendClientMessage(playerid, COLOR_CMD, "[iNFO] {FFFFFF} /makeleader [playerid/PartOfName] [Number(1-21)]"); return 1; } new para1; new level; para1 = ReturnUser(tmp); tmp = strtok(cmdtext, idx); level = strval(tmp); if(level > 21 || level < 0) { SendClientMessage(playerid, COLOR_GREY, "*Intre 0 si 21!"); return 1; } if (PlayerInfo[playerid][pAccesLeader] >= 1 && PlayerInfo[playerid][pAdmin] >= 8) { if(IsPlayerConnected(para1)) { if(para1 != INVALID_PLAYER_ID) { if(PlayerInfo[para1][pMember] > 0 || PlayerInfo[para1][pFMember] < 255) { SendClientMessage(playerid, COLOR_GREY, " Este deja member/leader a unei factiuni !"); return 1; } GetPlayerName(para1, giveplayer, sizeof(giveplayer)); GetPlayerName(playerid, sendername, sizeof(sendername)); PlayerInfo[para1][pLeader] = level; format(string, sizeof(string), " L-ai promovat cu leader pe [%s]", sendername); SendClientMessage(para1, COLOR_LIGHTBLUE, string); format(string, sizeof(string), " Ai primit de la %s leaderul factiunii [%d]", giveplayer,level); SendClientMessage(playerid, COLOR_LIGHTBLUE, string); if(level == 0) { PlayerInfo[para1][pChar] = 0; gTeam[para1] = 3; PlayerInfo[para1][pTeam] = 3; PlayerInfo[para1][pMember] = 0; PlayerInfo[para1][pRank] = 0; PlayerInfo[para1][pChar] = 0; MedicBill[para1] = 0; new rand = random(sizeof(CIV)); SetSpawnInfo(para1, gTeam[para1], CIV[rand],0.0,0.0,0.0,0,0,0,0,0,0,0); PlayerInfo[para1][pModel] = CIV[rand]; SpawnPlayer(para1); return 1; } else if(level == 1) { PlayerInfo[para1][pChar] = 288; } //Police Force else if(level == 2) { PlayerInfo[para1][pChar] = 165; } //FBI/ATF else if(level == 3) { PlayerInfo[para1][pChar] = 287; } //National Guard else if(level == 4) { PlayerInfo[para1][pChar] = 228; } //Fire/Ambulance else if(level == 5) { PlayerInfo[para1][pChar] = 46; } //Tattaglia else if(level == 6) { PlayerInfo[para1][pChar] = 120; } //Versace else if(level == 7) { PlayerInfo[para1][pChar] = 147; } //Mayor else if(level == 8) { PlayerInfo[para1][pChar] = 294; } //Hitmans else if(level == 9) { PlayerInfo[para1][pChar] = 227; } //News Reporters else if(level == 10) { PlayerInfo[para1][pChar] = 61; } //Taxi Cab Company else if(level == 11) { PlayerInfo[para1][pChar] = 171; } //Driving/Flying School else if(level == 12) { PlayerInfo[para1][pChar] = 100; } // Cuneo else if(level == 13) { PlayerInfo[para1][pChar] = 125; } else if(level == 14) { PlayerInfo[para1][pChar] = 270; } else if(level == 15) { PlayerInfo[para1][pChar] = 115; }//Varios Los Aztecas else if(level == 16) { PlayerInfo[para1][pChar] = 104; } else if(level == 17) { PlayerInfo[para1][pChar] = 173; } else if(level == 18) { PlayerInfo[para1][pChar] = 108; } else if(level == 19) { PlayerInfo[para1][pChar] = 29; }//StreetRace else if(level == 20) { PlayerInfo[para1][pChar] = 34; } else if(level == 21) { PlayerInfo[para1][pChar] = 288; }// BlueBerry Police Dept. else if(level == 22) { PlayerInfo[para1][pChar] = 179; }//C.I.A gTeam[para1] = 22; PlayerInfo[para1][pTeam] = 22; SetPlayerSkin(para1, PlayerInfo[para1][pChar]); } }//not connected } else { SendClientMessage(playerid, COLOR_GRAD1, " You are not autorized!"); } } return 1;[/pawn] Mai tre sa va dau cv? Edit:Am incercat si cu RCON !Tot la fel imi zice ca nu sunt autorizat!
  3. Mi-am dat de la lvl 1 admin pana la owner si tot nu pot sa dau lideri! Cand dau /makeleader Bitza 1 sau orice alt numar imi zica "You are not authorized" Ce as putea sa fac ca sa mearga ?
  4. Tine-o tot asa chiar te pricepi!
  5. Buna Seara! Am si o problema nu stiu cum sa inlocuiesc un sistem mysql intr-un sistem dialog (dinacela normal)! Va rog daca ma puteti ajuta si pe mine!
  6. bitza

    Va rog Ajutor!

    daca mi-ai putea spune si mie cum arata liniele de la mysql si si de unde sa iau un sistem de login personal sau cum sa fac unu as fii recunoscator!!
  7. Cum pot schimba sistemu de register din mysql in dala normal??! Va rog zicetimi si mie cum sa fac asta va rog frumos!
  8. Am o mica dilema nu stiu cum sa bag sistem de masini personale si cum sa le creez plz ajutatima!!
  9. Am un gamemode si preturile la masinile personale sunt foarte mari,toate masinile au acelasi pret de 9900000000! Cum fac si eu sa schimb pretul!va rog ajutor!
  10. Bai zimi sim ie cum sa fac bugu de la maisnile personale ca dai /v park si imi pune alta masina!!!!! Ce tre sa ii fac!!
  11. Am luat si eu Gm asta sa vad cum e si poate dau drumu la un server cu gm asta dar putin modificat!si am dat de un bug!Cand cum o masina si ii dau /v park imi apare alta masina si nu stiu dc! Acesta este gamemode: http://www.sa-mp.ro/forum/index.php/topic,18647.0.html Daca ma puteti ajuta si pe mine as fi recunoscator!
  12. Deci nush dece mi se deschide poarta de la pd aiurea! ma puteti ajuta ???
×
×
  • 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.