Jump to content

Stefan112

Membru
  • Posts

    122
  • Joined

  • Last visited

    Never

Everything posted by Stefan112

  1. La 2 incearca asa si vezi daca merge Pawno Code: [select] public OnPlayerEditObject(playerid, playerobject, objectid, response, Float:fX, Float:fY, Float:fZ, Float:fRotX, Float:fRotY, Float:fRotZ) { new Float:oldX, Float:oldY, Float:oldZ, Float:oldRotX, Float:oldRotY, Float:oldRotZ; GetObjectPos(objectid, oldX, oldY, oldZ); GetObjectRot(objectid, oldRotX, oldRotY, oldRotZ); new Float:OX, Float:OY, Float:OZ, Float:ORX, Float:ORY, Float:ORZ, OVW, OINT; if(!playerobject) // If this is a global object, move it for other players { if(!IsValidObject(objectid)) return; MoveObject(objectid, fX, fY, fZ, 10.0, fRotX, fRotY, fRotZ); } if(response == EDIT_RESPONSE_FINAL) { new string[254]; OVW = GetPlayerVirtualWorld(playerid); OINT = GetPlayerInterior(playerid); GetObjectPos(objectid, OX, OY, OZ); GetObjectRot(objectid, ORX, ORY, ORZ); AddObjectToFile(OBJECT_FILE_NAME, OX, OY, OZ, ORX, ORY, ORZ, OVW, OINT); SendClientMessage(playerid, COLOR_BLUE, "Object Saved, Please add more if you wish"); format(string, sizeof(string), "Object model %i spawned at %f, %f, %f, with rotation %f, %f, %f,", oModel, OX, OY, OZ, ORX, ORY, ORZ); SendClientMessage(playerid, 0xD8D8D8FF, string); format(string, sizeof(string), "Object world %i interior id %i", OVW, OINT); SendClientMessage(playerid, 0xD8D8D8FF, string); CreateDynamicObject(oModel, Float:OX, Float:OY, Float:OZ, Float:ORX, Float:ORY, Float:ORZ, OVW, OINT, -1, 200.0); DestroyObject(Object); } if(response == EDIT_RESPONSE_CANCEL) { //The player cancelled, so put the object back to it's old position if(!playerobject) //Object is not a playerobject { SetObjectPos(objectid, oldX, oldY, oldZ); SetObjectRot(objectid, oldRotX, oldRotY, oldRotZ); } else { SetPlayerObjectPos(playerid, objectid, oldX, oldY, oldZ); SetPlayerObjectRot(playerid, objectid, oldRotX, oldRotY, oldRotZ); return 1; } } }
  2. Scrie undefined simbol adica simbolul nu e definit in gamemode nu mai e in gamemode cv de genu asta CreateDinamicMapIcon
  3. sterge aceasta linie din gamemode #define pattern must start with an alphabetic character
  4. Pei ca sa faci un pickup te duci pe server dai /save unde vrei sa fie banca unde sa scoti banii iei coordonatele si le pui in gamemode EX: else if (PlayerToPoint(3, i,2314.7786,-8.1858,26.7422) || PlayerToPoint(3, i,-477.7068,-202.2913,985.3784)) { GameTextForPlayer(i, "~w~~h~Comenzile Bancii~n~~r~~h~/withdraw /deposit /transfer~n~~r~~h~/balance", 5000, 5); }
  5. Nu ai prea multe CreateObject sau CreateDinamicObject numaru maxim de obiecte sunt 1000 daca le-ai depasit daia sau poate nu ai mai dat rr la server de ceva vreme poate sa fie si din cauza asta incearca cum ti-am zis eu
  6. Te duci in gamemode cauti spawn location te duci pe server unde vrei spawnu dai /save iei coordonatele din documents gta san andreas user fies si ai un fisier txt acolo iei coordonatele si le pui in locu la celelalte din gamemode si gata
  7. Eu ti-am zis ca eu nu aveam probleme si am avut si eu ieri schimba hostu iti zic eu
  8. Sub #define se baga eu asa le-am pus
  9. Eroarea asta inseamna Failed (/lib/libmysqlclient_r.so.15: file too short) ca cei de la host nu au inclus la mysql si libmysqlclient_r.so.15 deci nai ce face decat sa-ti iei un alt host sau un gamemode pe dini
  10. Vezi ca se poate sa mearga doar cu ip poate a cazut dns-ul incearca cu ip-ul serverului nu cu dns ca trb sa mearga
  11. Ma este frumoasa dar puteai so faci si frumoasa sa-ti dai mai mult silinta da e buna si asa bv
  12. Pei daca tu iei windowsuri depe net cu virusi e si logic roaga si tu un prt sa-ti dea un cd fara virusi si sa ti-l bage el si ia-ti antivirus AVG 2014
  13. Iti dau includeurile mele speciale fi atent intri in pawno stergi include folderul tau sil adaugi pe al meu dar il dezarhivezi nu il pui in winrar il dezarhivezi si il pui ca folder http://www.solidfiles.com/d/fefa29f62d/ uite o poza sa vezi cum trb sa fie http://postimg.org/image/z0upz18tn/47dad426/ Daca te-am ajutat da un +1
  14. Daca e pro-gaming ai de asteptat la cate erori iti va da
  15. Multumesc,dar tot nu merge nush ce are
  16. Frumos
  17. Frumos Gamemode
  18. Tot nu merge
  19. Pune-o pasta else if(CP[playerid] == 50)//Robbing1 { CP[playerid] = 51; new rand; rand = random(sizeof(RandomRob)); SetPlayerCheckpoint(playerid, RandomRob[rand][0],RandomRob[rand][1],RandomRob[rand][2], 3.0); SendClientMessage(playerid, COLOR_YELLOW, "Acum pleaca la depozit pentru a lua banii!"); } else if(CP[playerid] == 51)//Robbing2 { if(IsPlayerInRangeOfPoint(playerid, 3.0, 2378.4417,-2014.9686,14.8329) { new cashr; new str[128]; GivePlayerMoney(playa, money);*50000; PlayerInfo[playerid][pRob] -= 20; // PlayerInfo[playerid][pRobSkill] += 5; SafeGivePlayerMoney(playerid, cashr); SetVehicleToRespawn(GetPlayerVehicleID(playerid)); format(str, 128,"*Ai luat $%d pentru ca ai jefuit banca!", cashr); SendClientMessage(playerid, COLOR_YELLOW, str); DisablePlayerCheckpoint(playerid); CP[playerid] = 0; } }
  20. Nush ce are nu merge si am facut si alta si tot la fel if(strcmp(cmd, "/gotols", true) == 0) { if(IsPlayerConnected(playerid)) { if(PlayerInfo[playerid][pJailed] == 1) { // //SetPlayerSkin(playerid, 62); // SetPlayerWantedLevel(playerid, 0); // SetPlayerInterior(playerid, 0); // SetPlayerPos(playerid,1773.7419,-1572.5045,1735.9430); // new randi; // SetPlayerInterior(playerid, 6); // randi = random(sizeof(JailqSpawns)); SendClientMessage(playerid, COLOR_2RED, "Nu te poti teleporta atata timp cat esti in INCHISOARE!"); return 1; } if (PlayerInfo[playerid][pAdminServer] >= 1 || PlayerInfo[playerid][pHelperLevel] >= 2) { if (GetPlayerState(playerid) == 2) { new tmpcar = GetPlayerVehicleID(playerid); SetVehiclePos(tmpcar, 1529.6,-1691.2,13.3); TelePos[playerid][0] = 0.0;TelePos[playerid][1] = 0.0; } else { SetPlayerPos(playerid, 1529.6,-1691.2,13.3); } SendClientMessage(playerid, COLOR_GRAD1, " Ai fost teleportat!"); // SendClientMessage(playerid, COLOR_2RED, "Nu abuza de /goto, iei remove!"); GetPlayerName(playerid, sendername, sizeof(sendername)); format(string, 256, "{F3FF02}%s s-a teleportat in Los Santos", sendername); ABroadCast(COLOR_YELLOW,string,1); SetPlayerInterior(playerid,0); PlayerInfo[playerid][pInt] = 0; SetPlayerVirtualWorld(playerid, 0); } else { SendClientMessage(playerid, COLOR_RED, " Nu esti autorizat sa folosesti aceasta comanda!"); } } return 1; } PS:gireada ai zis de acum o sapt ca-mi faci si mie gamemode-ul pe dini dar nu ai mai intrat
  21. Updateaza includeurile
  22. Nice,Good Job
  23. In loc de SendMail pune asa Sendmail si ia vezi daca iti mai da erori
  24. Stefan112

    /Pimps

    Pei,da dar le puteai si tu vinde
  25. Stefan112

    /Pimps

    Frumoasa da eu nu inteleg pentru ce faci aceste mape?
×
×
  • 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.