Jump to content

LTh_LeThaL

Membru
  • Posts

    121
  • Joined

  • Last visited

    Never

About LTh_LeThaL

  • Birthday 02/03/1995

LTh_LeThaL's Achievements

Enthusiast

Enthusiast (6/14)

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

Recent Badges

0

Reputation

  1. Salut, am o problema la Serverul meu, pica de la ceva din GameMode si as dori sa stiu, asa ca am instalat CrashDetect insa cand pornesc Serverul imi da eroare in server_log; Failed (/usr/lib/libstdc++.so.6: version `GLIBCXX_3.4.10' not found (required by plugins/crashdetect.so)) . Stie cineva de la ce e asta ?
  2. Pune-ti JunkBuster 11 la Server
  3. Adauga la dialogul care vrei cand apesi un buton sa te scoata astea; TogglePlayerControllable(playerid, 1); RemovePlayerFromVehicle(playerid);
  4. Poti sa adaugi comanda asta pentru a iesit din masina if (strcmp(cmd, "/exitveh", true) ==0 ) { if(!IsPlayerInAnyVehicle(playerid)){return 1;} if(GetCreatorID(vehicleid)!=0) { TogglePlayerControllable(playerid, 1); RemovePlayerFromVehicle(playerid); } return 1; }
  5. Poftim ti-am creat doar pana la prima factiune restul adaugi tu fix cum am facut eu schimband ID-ul factiunii si ID la skin-uri. if(strcmp(cmd, "/giverank", true) == 0) { if(IsPlayerConnected(playerid)) { tmp = strtok(cmdtext, idx); if(!strlen(tmp)) { SendClientMessage(playerid, COLOR_GRAD2, "USAGE: /giverank [playerid/PartOfName] [1-6]"); return 1; } new para1; new level; para1 = ReturnUser(tmp); tmp = strtok(cmdtext, idx); level = strval(tmp); if(level > 6 || level < 0) { SendClientMessage(playerid, COLOR_GREY, "Poti da rank intre 1 si 6."); return 1; } if (PlayerInfo[playerid][pLeader] >= 1) { if(IsPlayerConnected(para1)) { if(para1 != INVALID_PLAYER_ID) { GetPlayerName(para1, giveplayer, sizeof(giveplayer)); PlayerInfo[para1][pRank] = level; format(string, sizeof(string), "Liderul tau %s ti-a dat un rank nou", sendername); SendClientMessage(para1, COLOR_WHITE, string); format(string, sizeof(string), "Tocmai i-ai dat membrului %s rankul %d.", giveplayer,level); SendClientMessage(playerid, COLOR_WHITE, string); if(PlayerInfo[playerid][pMember] == 1 || PlayerInfo[playerid][pLeader] == 1) { if(PlayerInfo[para1][pSex] == 1) { // Skinuri de Barbati if(PlayerInfo[para1][pRank] == 1) { PlayerInfo[para1][pChar] = SkinID; SetPlayerSkin(para1, SkinID); }//rank 1 else if(PlayerInfo[para1][pRank] == 2) { PlayerInfo[para1][pChar] = SkinID; SetPlayerSkin(para1, SkinID); }//rank 2 else if(PlayerInfo[para1][pRank] == 3) { PlayerInfo[para1][pChar] = SkinID; SetPlayerSkin(para1, SkinID); }//rank 3 else if(PlayerInfo[para1][pRank] == 4) { PlayerInfo[para1][pChar] = SkinID; SetPlayerSkin(para1, SkinID); }//rank 4 else if(PlayerInfo[para1][pRank] == 5) { PlayerInfo[para1][pChar] = SkinID; SetPlayerSkin(para1, SkinID); }//rank 5 else if(PlayerInfo[para1][pRank] == 6) { PlayerInfo[para1][pChar] = SkinID; SetPlayerSkin(para1, SkinID); }//rank 6 } else if(PlayerInfo[para1][pSex] == 2) // Skin de femeie { PlayerInfo[para1][pChar] = 141; SetPlayerSkin(para1, SkinID); } } Tu continui cu Scriptul de la if(PlayerInfo[playerid][pMember] == 1 || PlayerInfo[playerid][pLeader] == 1) si adaugi urmatoarele factiuni si Skinuri
  6. Pai pe la ce ai adaugat nou sau ai sters a ramas o acolada inchisa } in plus undeva. Intr-un mod numarul acoladelor deschise trebuie sa fie egal cu cele inchise.
  7. LTh_LeThaL

    /stuck

    Ce vrei sa faca aceasta comanda ? Apropo foloseste Search poate gasesti.
  8. Ai adaugat o } in plus pe undeva.
  9. E draci, faci tu ceva gresit. Nu exista asa ceva
  10. Sunt WARNING-uri, nu ERRORI. Sterge cuvantul respectiv de la linia respectiva deoarece nu este folosit si e tinut degeaba.
  11. LTh_LeThaL

    Salut

    Adauga in Serverul 0.3C Fisierele ANNOUNCE , SA-MP SERVER , NPC si compileaza GameMode-ul cu PAWNO din Serverul 0.3D.
  12. Sigur sunt bune coordonatele de unde dai /enter ?
  13. LTh_LeThaL

    /enter

    Uite; if(strcmp(cmd, "/enter", true) == 0) { if(PlayerInfo[playerid][pMember] == 2 || PlayerInfo[playerid][pLeader] == 2 { if (PlayerToPoint(3, playerid,289.8177,167.2616,1007.1719)) { SetPlayerPos(playerid,1507.6525,-1510.1477,13.5473); SetPlayerInterior(playerid,IDINT);//inlocuie cu id-u de la int } } else { SendClientMessage(playerid, COLOR_WHITE, "Ne pare rau, dar nu esti membru FBI."); } return 1; } if(strcmp(cmd, "/exit", true) == 0) { if(PlayerInfo[playerid][pMember] == 2 || PlayerInfo[playerid][pLeader] == 2 { if (PlayerToPoint(3, playerid,1507.6525,-1510.1477,13.5473)) { SetPlayerPos(playerid,289.8177,167.2616,1007.1719); SetPlayerInterior(playerid,0); } } else { SendClientMessage(playerid, COLOR_WHITE,"Ne pare rau, dar nu esti membru FBI."); } 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.