Jump to content

BaFFyJunior

Membru
  • Content Count

    77
  • Joined

  • Last visited

  • Days Won

    1

BaFFyJunior last won the day on May 3

BaFFyJunior had the most liked content!

Community Reputation

3 Neutru

1 Follower

About BaFFyJunior

  • Rank
    Membru junior

Profile Information

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

Recent Profile Visitors

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

  1. BaFFyJunior

    Problemă gamemode

    case pCashx: format(var, sizeof(var), "UPDATE `users` SET `Money`='%d' WHERE `ID`='%d'",GetPlayerCash(playerid), PlayerInfo[playerid][pSQLID]);
  2. BaFFyJunior

    Erori Pawno

    La enum playerinfo pune pJob. Daca il ai verifica daca l-ai scris bine.
  3. BaFFyJunior

    Problema chat gobal

    Nu. Fa asa: new string[144]; format(string, sizeof(string), "%s a deschis un premium crate si a primit %s", GetName(playerid)), SendClientMessageToAll(COLOR_DBLUE, string); Scuze pentru aranjare, sunt pe telefon. Fa asa la fiecare in parte.
  4. BaFFyJunior

    Crash la Compilare

    Incearca sa pui #include <garage_system> deasupra la OnDialogResponse.
  5. BaFFyJunior

    Server Start Error.

    In primul rand ai o problema: Streamer Plugin: Include file version (0x293) does not match plugin version (0x294) (script might need to be recompiled with the correct include file). Ia streamer ultima versiune de pe google si inlocuieste fisierele ce le ai in plugins si pawno- include. Cat despre celelalte debuguri cred ca folosesti mysql r39 ca plugin, iar in gamemode r40+.
  6. BaFFyJunior

    Problema conectare la baza de date

    Pai sunt adevarate daca ai erori. Fa o poza.
  7. BaFFyJunior

    Problema conectare la baza de date

    Nu stiu exact daca te ajuta, dar vezi daca ai vreo eroare in mysql_log.
  8. BaFFyJunior

    Problema

    Ai pus vreo restrictie ca daca are stage 1 sa nu poata alege stage 1?
  9. BaFFyJunior

    Problema cu Update in Baza de date.

    Incearca sa pui new Query[144];
  10. BaFFyJunior

    Problema cu Update in Baza de date.

    Nu am vazut ce a facut acolo cu else si else if. Dar tot am dreptate, nu e ok ce a facut in actualizarea bazei de date. CMD:setadmin(playerid, params[]) { new id, gMessage[128], level; if(sscanf(params, "ud", id,level)) return SendClientMessage(playerid, 0xFF0000FF, "Usage: /setadmin [playerid] [level]"); if(id == INVALID_PLAYER_ID) return SendClientMessage(playerid, 0xFF0000FF, "That player is not online"); mysql_format(handle, Query, sizeof(Query), "UPDATE `conturi` SET `Admin`='%d' WHERE `Nume`='%s'", level, GetName(id)); mysql_tquery(handle, Query, "", ""); format(gMessage, sizeof(gMessage), "* You have set %s has a level %d admin", GetName(id), level); SendClientMessage(playerid, 0xFFFFFFFF, gMessage); format(gMessage, sizeof(gMessage), "* You have been set as a level %d admin", level); SendClientMessage(id, 0xFFFFFFFF, gMessage); P_Data[id][pAdmin] = level; return true; } Asta e ce ai facut tu. Ma refeream sa faca la fel, dar asa: CMD:setadmin(playerid, params[]) { new id, gMessage[128], level; if(sscanf(params, "ud", id,level)) return SendClientMessage(playerid, 0xFF0000FF, "Usage: /setadmin [playerid] [level]"); if(id == INVALID_PLAYER_ID) return SendClientMessage(playerid, 0xFF0000FF, "That player is not online"); P_Data[id][pAdmin] = level; mysql_format(handle, Query, sizeof(Query), "UPDATE `conturi` SET `Admin`='%d' WHERE `Nume`='%s'", P_Data[id][pAdmin], GetName(id)); mysql_tquery(handle, Query, "", ""); format(gMessage, sizeof(gMessage), "* You have set %s level %d admin", GetName(id), level); SendClientMessage(playerid, 0xFFFFFFFF, gMessage); format(gMessage, sizeof(gMessage), "* You have been set as a level %d admin", level); SendClientMessage(id, 0xFFFFFFFF, gMessage); return 1; }
  11. BaFFyJunior

    Problema /bonus

    YCMD:bonus(playerid, params[], help) { if(PlayerInfo[playerid][pLevel] >= 3) return SCM(playerid, COLOR_LIGHTRED, "Ai primit deja bonusul de inceput sau ai trecut de level 3!"); PlayerInfo[playerid][pLevel] = 5; Update(playerid, pLevel); SetPlayerScore(playerid, PlayerInfo[playerid][pLevel]); GivePlayerCash(playerid, 15000000); Update(playerid, pCashx); PlayerInfo[playerid][pPremiumPoints] += 100; Update(playerid, pPremiumPointsx); UpdateProgress(playerid, 0); GiveVehicle(playerid, 600); ShowPlayerDialog(playerid, 0, DIALOG_STYLE_MSGBOX, "[!] Bonus", "+5 level up [level 5]\n+100 premium points [/shop]\n+$15,000,000\n\nWelcome to the server, have fun!", "Close", ""); return 1; } Cred ca problema e asta: UpdateProgress(playerid, pCar); Masina se salveaza in functia GiveVehicle, acel updateprogress nu are cum sa fie asa deoarece iti actualizeaza progress barurile(level, job, etc). Daca folosesti functia Update nu ai niciunde acea variabila(pCar). Deci o poti scoate. Sper ca merge. Succes!
  12. BaFFyJunior

    2 erori + 2 warnings

    Se putea rezolva daca defineai sus new PlayerText:PaydayTimer_PTD .
  13. BaFFyJunior

    problema include

    Deschide server_log si vezi ce erori primesti.
  14. BaFFyJunior

    problema include

    <garage_system>, ma gandeam ca sti.
  15. BaFFyJunior

    problema include

    Tu ai includeul garage_system si in gamemode ai pus garage_sistem din cate spui tu. Copiaza ce iti pun eu aici si inlocuieste in gamemode: #include < garage_system >
×

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.