Jump to content

RABIGKY

Membru
  • Content Count

    26
  • Joined

  • Last visited

Community Reputation

0 Neutru

About RABIGKY

  • Rank
    Membru

Profile Information

  • Sex
    Masculin
  • Name in game
    RABIGKY
  • Level of knowledge
    Mediu

Recent Profile Visitors

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

  1. Mai uita-te inca odata la GroWy si vezi cum a facut el Omu' a facut tutorial pe yt si tu nu esti in stare sa copiezi...Urat...
  2. RABIGKY

    problema

    Am rezolvat. T/C
  3. RABIGKY

    problema

    stai, ca-ti dau mesaj sa nu facem aici spam
  4. RABIGKY

    problema

    if (newkeys & KEY_CROUCH )// daca apasa tasta KEY_CROUCH if(!IsACop(playerid)) return SCM(playerid, -1, "Nu poti deschide poarta deoarece nu esti politist!"); if(IsPlayerInRangeOfPoint(playerid, 15, 1586.81323, -1637.93604, 14.95745)) { MoveObject(GatePD1, 1586.81323, -1637.93604, 9.52512, 5.0, 0.00000, 0.00000, 0.00000); SetTimer("MoveGatePd1",5000,0); SendClientMessage(playerid,-1,"Ai deschis poarta 5 secunde!"); } Vezi acum..
  5. RABIGKY

    problema

    Vezi acea acolada "}" nu ai pus-o bine, pune-o in rand cu cealalta "{"
  6. RABIGKY

    problema

    Oke, am rezolvat problema cu "params", mersi Acum imi apar celelalte erori 1015,1023,1031,1047,1063... Vreo idee?
  7. RABIGKY

    problema

    Salut, am incercat sa fac ca motorul masinii si luminile sa le porneasca player-ul manual... si am primit erorile astea, vreo idee? EDIT: v-am scris nr. randurilor, poate asa va dati seama...
  8. RABIGKY

    problema

    M-am uitat si nu mai este definit.....
  9. RABIGKY

    problema

    Salut, am luat si eu gm-ul de la Edison(Gamemode de la 0) pe care am vrut sa incep sa lucrez, sa mai invat unele lucruri.. etc Si am primit asta, aveti idee de ce? SA-MP RPG Server\gamemodes\RPG.pwn(2502) : error 025: function heading differs from prototype SA-MP RPG Server\gamemodes\RPG.pwn(2502) : error 025: function heading differs from prototype SA-MP RPG Server\gamemodes\RPG.pwn(2502) : error 021: symbol already defined: "Range" SA-MP RPG Server\gamemodes\RPG.pwn(2502) : fatal error 107: too many error messages on one line Si asta este linia/functia ... function Range(Float:radi, playerid, targetid) { if(IsPlayerConnected(playerid)&&IsPlayerConnected(targetid)) { new Float:posx, Float:posy, Float:posz; new Float:oldposx, Float:oldposy, Float:oldposz; new Float:tempposx, Float:tempposy, Float:tempposz; GetPlayerPos(playerid, oldposx, oldposy, oldposz); GetPlayerPos(targetid, posx, posy, posz); tempposx = (oldposx -posx); tempposy = (oldposy -posy); tempposz = (oldposz -posz); if (((tempposx < radi) && (tempposx > -radi)) && ((tempposy < radi) && (tempposy > -radi)) && ((tempposz < radi) && (tempposz > -radi))) return 1; } return 0; }
  10. RABIGKY

    /admins

    Stiu ca e putin cam tarziu...Da' daca te ajuta poftim [pawn] CMD:admins(playerid) { SCM(playerid, COLOR_LIGHTBLUE, "---===ADMINS===---"); if(PlayerInfo[id][pAdmin] == 1) { new string[80]; format(string, sizeof(string), "Admin-Trial: %s", GetName(id)); SCM(playerid, COLOR_LIGHTBLUE, string); } else if(PlayerInfo[id][pAdmin] == 2) { new string[80]; format(string, sizeof(string), "Admin 1: %s", GetName(id)); SCM(playerid, COLOR_LIGHTBLUE, string); } else if(PlayerInfo[id][pAdmin] == 3) { new string[80]; format(string, sizeof(string), "Admin 2: %s", GetName(id)); SCM(playerid, COLOR_LIGHTBLUE, string); } else if(PlayerInfo[id][pAdmin] == 4) { new string[80]; format(string, sizeof(string), "Admin 3: %s", GetName(id)); SCM(playerid, COLOR_LIGHTBLUE, string); } else if(PlayerInfo[id][pAdmin] == 5) { new string[80]; format(string, sizeof(string), "Moderator: %s", GetName(id)); SCM(playerid, COLOR_LIGHTBLUE, string); } else if(PlayerInfo[id][pAdmin] == 6) { new string[80]; format(string, sizeof(string), "Co-Owner: %s", GetName(id)); SCM(playerid, COLOR_LIGHTBLUE, string); } else if(PlayerInfo[id][pAdmin] == 7) { new string[80]; format(string, sizeof(string), "Owner: %s", GetName(id)); SCM(playerid, COLOR_LIGHTBLUE, string); } SCM(playerid, COLOR_LIGHTBLUE, "---===----===---"); return 1; }[/pawn]
  11. Salut, inlocuiesti comanda aia cu asta daca doresti CMD:makeadmin(playerid, params[]) { if(PlayerInfo[playerid][pAdmin] == 7) { new string[50], id, amount; if(sscanf(params, "ui", id, amount)) return SCM(playerid, -1, "SYNTAX:/makeadmin <ID> <1-7>"); format(string, sizeof(string), "%s ti-a setat admin-ul la %d.", GetName(playerid), amount); SCM(playerid, 0x00FF66, string); PlayerInfo[playerid][pAdmin] = amount; gQuery[0] = EOS; mysql_format(SQL, gQuery, sizeof(gQuery), "UPDATE `conturi` SET `Admin`='%d' WHERE `ID`='%d'", GetPlayerScore(playerid), PlayerInfo[playerid][pSQLID]); mysql_tquery(SQL, gQuery, "", ""); } else { SCM(playerid, 0xFF0000, "[SERVER]: Nu ai gradul necesar."); } return 1; } Daca ai vreo problema cu aceasta comanda, da-mi pm.. Sper ca te-am ajutat
  12. S-a rezolvat datorita lui [El.Capo], multumesc
  13. Nu merge.. Se salveaza in baza de date, dar daca ies si intru din nou am 0 bani ... Am sa mai ma uit prin GM, poate e de la logare.. EDIT: Nu am reusit, ma poate ajuta cineva?
  14. CMD:bonus(playerid, params[]) { if(PlayerInfo[playerid][pLevel] <= 2) { GivePlayerMoney(playerid, 50000000); SetPlayerScore(playerid, 5); SCM(playerid, COLOR_YELLOW, "Ai primit level 5 si $50.000.000, distreaza-te!"); } else { SCM(playerid, 0xff0000, "Ai primit deja bonus-ul, nu fii bulangiu."); } return 1; } Nu stiu daca mai ai nevoie, dar incearca asta ...
  15. CMD:givemoney(playerid, params[]) { new string[256], id, amount; if(sscanf(params, "ud", id, amount)) return SCM(playerid, -1, "SYNTAX:/givemoney <playerid> <amount>"); else if (id == INVALID_PLAYER_ID) SendClientMessage(playerid, COLOR_RED, "INVALID ID"); else { format(string, sizeof(string), "%s ti-a dat %d bani.", GetName(playerid), amount); SCM(playerid, COLOR_BLUE, string); GivePlayerMoney(id, amount); gQuery[0] = EOS; mysql_format(SQL, gQuery, sizeof(gQuery), "UPDATE `users` SET `Money`='%d' WHERE `ID`='%d'", GetPlayerMoney(playerid), PlayerInfo[playerid][pSQLID]); mysql_tquery(SQL, gQuery, "", ""); } return 1; } Salut, am incercat sa fac o comanda... Am facut ca atunci cand imi dau bani sa se salveze in baza de date, dar daca reintru pe server, am 0 bani, cu toate ca in baza imi apare ca am o suma de bani... Ma puteti ajuta?
×
×
  • 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.