Jump to content

FiveGame

Membru
  • Content Count

    718
  • Joined

  • Last visited

  • Days Won

    31

FiveGame last won the day on August 21 2019

FiveGame had the most liked content!

Community Reputation

111 Popular

About FiveGame

  • Rank
    Owner FiveGame Lands
  • Birthday 03/09/1992

Profile Information

  • Sex
    Masculin
  • Location
    Neamt
  • Interests
    IP: samp.rpg-fivegame.ro caut Staff serios
  • Name in game
    Andu
  • Level of knowledge
    Experimentat

Contact Methods

  • Discord
    Andu #1129
  • Website URL
  • Yahoo
    andrey4you37@yahoo.com
  • Skype
    andrei.andu14

Recent Profile Visitors

2,759 profile views
  1. new tmp = GetPlayerVehicleID(playerid);
  2. salut problema asta apare atunci cand nu ai definit corect ceva anume sau fisierul nu exista ai 2 variante ori faci in format .inc ori il folosesti asa #include "../gamemodes/physics.pwn" sau in format .inc #include <physics>
  3. FiveGame

    GM Bottles db

    da am gresit cand am scris ca am facut asta depe tel
  4. FiveGame

    Eroare debug

    ideia din tutorial o sati fie de folos ce ti-am dat eu doar trebuie sa intelegi de la ce incepe acel array. deci nu iti cunosc linia de unde ai tu eroarea aia sau mai bine zis debug dar banuesc sa fie de la un textdraws sau ceva . sau sa nu ai -d3 in pawn.cfg
  5. FiveGame

    Eroare debug

    salut iti dau un mic tutorial sa iti dai seama tu. new array[20]; //Array cu 20 de elemente, fara tag //spre exemplu undeva la utilizare: array[10] = 10; //este OK array[15] = array[17] //este OK array[25] = 126; //Errr.. Array index out of bounds...
  6. FiveGame

    GM Bottles db

    nu ai respectat corect conectarea cu baza de date. //aici pui datele tale de la host #define mysql_host "93.149.26.240" #define mysql_user "zp_hid12385" #define mysql_password "BLVq878Afx" #define mysql_database "zp_hid12385 //sau daca vrei sa il deschizi prin localhost pui asta #define mysql_host "127.0.0.1" #define mysql_user "zp_hid12385" #define mysql_password "root"//aici lasi asa #define mysql_database "zp_hid12385" //si la public OnGameModeInit() pui asta MySQLCon = mysql_connect(mysql_host, mysql_user, mysql_database, mysql_password); // trebuie sa iti mearga daca respecti pasi necesari posibil sa mai faci uploade si la unele plugins
  7. FiveGame

    GM Bottles db

    ok mihai gabriel nu stiam de acest aspect.
  8. salut mai lasati si voi certuri'le dupa sarbatori, si incepeti sa fiti mai laudarosi dupa anul nou.
  9. FiveGame

    GM Bottles db

    salut o intrebate decand e facut de tine acel gm daca originalul a fost postat de 411D?
  10. sau mai este o varianta for(new i = 0; i < MAXPLAYERS; i++) { if(Rentano,i == GetPlayerVehicleID(playerid)) return SendClientMessage(playerid, COLOR_GREY, "{999999}[Rent]: {FFFFFF}Neko je vec rentao ovo vozilo!");//Ako je neko rentao vozilo, neces ga moci rentati }
  11. Salut incearca asa #define MAXPLAYERS 100 new Rentano[MAX_PLAYERS]; new Rent[10]; //=======================================================================================================// public OnGameModeInit() { SetGameModeText(" EU:RPG v1.0"); Rent[1] = AddPlayerClass(0, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0); Rent[2] = AddStaticVehicle(401,-2443.7751,2224.1279,4.6230,0.0969,9,9); // bravura1 Rent[3] = AddStaticVehicle(401,-2446.7620,2224.1331,4.6231,0.0389,9,9); // bravura2 Rent[4] = AddStaticVehicle(401,-2449.6829,2224.1345,4.6233,359.7000,9,9); // bravura3 Rent[5] = AddStaticVehicle(401,-2452.7454,2224.1709,4.6232,359.5211,9,9); // bravura4 Rent[6] = AddStaticVehicle(462,-2443.7615,2243.4551,4.4040,179.6487,9,9); // faggio1 Rent[7] = AddStaticVehicle(462,-2446.9106,2243.5237,4.3734,176.1769,9,9); // faggio2 Rent[8] = AddStaticVehicle(462,-2449.8391,2243.2881,4.3746,179.4445,9,9); // faggio3 Rent[9] = AddStaticVehicle(462,-2452.8533,2243.1057,4.3689,180.2896,9,9); // faggio4 } //=======================================================================================================// CMD:rentaj(playerid,params[]) { new string[128]; if(GetPlayerMoney(playerid) < 150) return SendClientMessage(playerid, COLOR_GREY, "{999999}[Rent]: {FFFFFF}Nemas dovoljno Novca!");//Ako igrac nema 150 $, nece moci da renta. if(Rentano[playerid] != 299) return SendClientMessage(playerid, COLOR_GREY, "{999999}[Rent]: {FFFFFF}Moras prvo da vratis iznajmljeno vozilo!");//Proverava da li vec imas rentano vozilo. for(new i = 0; i < MAXPLAYERS; i++) { if(Rentano,playerid, GetPlayerVehicleID(playerid)) return SendClientMessage(playerid, COLOR_GREY, "{999999}[Rent]: {FFFFFF}Neko je vec rentao ovo vozilo!");//Ako je neko rentao vozilo, neces ga moci rentati } GivePlayerMoney(playerid,-150);//Oduzima igracu 150$ Rentano[playerid] = GetPlayerVehicleID(playerid);//Postavlja igracu rent vozilo(da drugi nmg rentati) PlayerPlaySound(playerid, 1052, 0.0, 0.0, 0.0);// Pusta neke zvuke... format(string, sizeof(string), "~r~/unrentcar~n~~g~/lock.");//Tekst koji ce biti u GameTextu SendClientMessage(playerid, COLOR_GREY, "{999999}[Rent]: {FFFFFF}Uspešno ste rentali vozilo");//// ispisuje poruku igracu TogglePlayerControllable(playerid, 1);//Odmrzava igraca - Omogucava mu da se krece GameTextForPlayer(playerid, string, 5000, 3);// Prikazuje GameText return 1; }
  12. ce sa le faci daca nu au cuvant si bunul simt, mai sunt specimene si de genul asta.
  13. te-a facut un cadou de sarbatori numai bine te-a facut sa stai acasa si sa nu mai iesi cu oameni dragi tie.
×
×
  • Create New...

Important Information

This site uses cookies. By continuing browsing, you agree to the use of this information. For more details, see Terms of Use and Privacy Policy.