Jump to content

AnDrEyUpS

Membru
  • Content Count

    51
  • Joined

  • Last visited

  • Days Won

    1

AnDrEyUpS last won the day on October 16 2019

AnDrEyUpS had the most liked content!

Community Reputation

3 Neutru

About AnDrEyUpS

  • Rank
    Membru junior

Profile Information

  • Sex
    Masculin
  • In-game Name
    AnDreYups
  • Level of knowledge
    Mediu

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. Am un crate simplu. Gen /opencrate si atat fara dialog pana invat. Imi da ca nu am definit acel pGZZ Uite cum am facut: https://pastebin.com/9501L9r7
  2. Comanda nu e copiata. e facuta de mine in gamemode la ce am avut nevoie.
  3. Pai asa e cel mai lejer. Am editat acolo la CMD
  4. Stiu asta, eu i-am dat un start ca sa isi faca si el cum vrea..
  5. Cred ca este invers. Mai explicat pentru tine: new fString[100]; format(fString, sizeof fString, "%s Va saluta pe toti playerii!", GetName(playerid)); SCMTA(COLOR_UNKNOWN, fString);
  6. CMD:saluta(playerid, params[]) { SendClientMessageToAll(COLOR_CAREAITU, "%s va saluta pe toti playerii!"), GetName(playerid)); // incearca asa. return 1; }
  7. Daca vrei comanda /enter doar pentru o locatie o poti face asa: CMD:enter(playerid, params[]) { if(!IsPlayerInRangeOfPoint(playerid, 7.0, x,y,z) return SCM(playerid, COLOR_CUMAITU, "Nu esti la locatia potrivita!"); SetPlayerPos(playerid, x,y,z); SetPlayerVirtualWorldEx(playerid, x) sau interior cum vrei tu. return 1; }
  8. Incearca asa: https://pastebin.com/LtDuFD6m
  9. Cauta cum a zis si el mai sus si cam asa ar trebui sa arate: ShowPlayerDialog(DIALOG_GPS, DIALOG_STYLE_LIST, "Locations" ",x", "y", "Spin", "Ok", "Close"); dupa ultima aia adaugi si Spin...apoi la case DIALOG_GPS ADAUGI ASTA: Sa zicem ca ai 6 ultimu adaugi asa -> case 7 SetPayerCheckpoint(playerid, x, y, z, Distanta), CP[playerid] = 0; //depinde cum ai tu remove checkpoint.
  10. Adauga asa: if(pInfo[playerid][pAdmin] < 1) return SCM(playerid, COLOR_UNKNOWN, "Nu ai acces la aceasta comanda!"); sau PlayerInfo inloc de pInfo... Sau daca vrei doar pentru admin 1 incearca asa: if(pInfo[playerid][pAdmin] < != 1) return SCM(playerid, COLOR_UNKNOWN, "Nu ai acces la aceasta comanda!");
  11. Pai poti incepe sa cauti id-ul de la bicicleta cu CTRL+F in gamemode... ca sa iti fie mai usor dute langa bicicleta si dai /save si vezi daca suny 7 biciclete ar trebui sa fie aceleasi id unu langu altu la public OnGameModeInit.
  12. Intra in documentul cu .sql si cauta acolo ceva de genu : Database: `'Si adaugi aici numele la baza dedate'
  13. Intri pe sa:mp dai /spawncar infernus 1 1 si apoi te duci unde vrei sa fie masina, folosesti comanda /save apoi te duci la 'Documents->GTA->Sa:mp-> savedpositions si dai in jos de tot si vei gasi coordonatele. Copiezi tot si le introduci undeva la public OnGameModeInit.
  14. Cred ca te referi la comanda asta: CMD:goysh(playerid, params[]) { if(pInfo[playerid][pAdmin] < 1) return SCM(playerid, COLOR_UNKOWN, "Nu ai acces la aceasta comanda!"); SetPlayerCheckpoint(playerid, x,y,z, distance), CP[playerid] = 0; //depinde cum ai tu acest remove checkpoint return 1; } //Daca ai erori imi zici, poate am uitat ceva.
  15. Poti face si asa daca ai mai multe: #define DIALOG_GOTOLOCATION 300 CMD:gotoloc(playerid, params[]) { if(pInfo[playerid][pAdmin] < 1) return SCM(playerid, COLOR_UNKNOWN, "Nu ai acces la aceasta comanda!"); ShowPlayerDialog(playerid, DIALOG_GOTOLOCATION, DIALOG_STYLE_LIST, "Locations", "LV", "LS", "Etc", "Ok", "Close"); return 1; } case DIALOG_LOCATIONS if(!response) return 1; switch(listitem) { { case 0: SetPlayerPos(playerid, x, y, z); case 1: SetPlayerPos(playerid, x, y
×
×
  • 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.