Jump to content

Ph0eniX

V.I.P
  • Posts

    746
  • Joined

  • Last visited

  • Days Won

    15

Everything posted by Ph0eniX

  1. Dai edit si pune liniile daca nu voi da T/C.
  2. Incearca: if (strcmp(cmd, "/buylevel", true) == 0) { if (gPlayerLogged[playerid] == 0) return SendClientMessage(playerid, COLOR_GRAD1, " You are not Logged in !"); PlayerInfo[playerid][pCash] = GetPlayerMoney(playerid); if(PlayerInfo[playerid][pLevel] < 0) return 1; new nxtlevel = PlayerInfo[playerid][pLevel]+1; new costlevel = nxtlevel*levelcost;//10k for testing purposes new expamount = nxtlevel*levelexp; new infostring[128];//era 256 if(GetPlayerMoney(playerid) < costlevel) { format(infostring, 128, " You do not have enough Cash ($%d) !",costlevel); SendClientMessage(playerid, COLOR_GRAD1, infostring); return 1; } else if (PlayerInfo[playerid][pExp] < expamount) { format(infostring, 128, " You need %d Respect Points, you curently have [%d] !",expamount,PlayerInfo[playerid][pExp]); SendClientMessage(playerid, COLOR_GRAD1, infostring); return 1; } else { format(string, sizeof(string), "~g~LEVEL UP~n~~w~You Are Now Level %d", nxtlevel); PlayerPlaySound(playerid, 1052, 0.0, 0.0, 0.0); PlayerPlayMusic(playerid); GivePlayerMoney(playerid, (-costlevel)); PlayerInfo[playerid][pLevel]++; PlayerInfo[playerid][pExp] -= expamount; PlayerInfo[playerid][gPupgrade] = PlayerInfo[playerid][gPupgrade]+2; GameTextForPlayer(playerid, string, 5000, 1); format(infostring, 128, " You bought Level %d for ($%d) Type /upgrade", nxtlevel, costlevel); SendClientMessage(playerid, COLOR_GRAD1, infostring); format(infostring, 128, " You gave %d unspent Upgrade Points",PlayerInfo[playerid][gPupgrade]); SendClientMessage(playerid, COLOR_GRAD2, infostring); } return 1; }
  3. Topic inchis , 48h+ fara reply.....
  4. Topic inchis , 48h+ fara reply.....
  5. Topic inchis , 48h+ fara up/reply.....
  6. Ph0eniX

    Problema

    Topic inchis , 48h+ fara reply.....
  7. Topic inchis , 48h fara reply.....
  8. Topic inchis , in aceasta sectiune NU se cere asa ceva. Edit by Admin: Si nici nu se accepta idei copiate dupa alte servere.
  9. Posteaza liniile de la OnGameModeInit / OnFilterScriptInit unde creeaza masinile.
  10. Topic inchis , 48h+ fara up/reply.
  11. Topic inchis , 48h+ fara reply.
  12. Nu lua in considerare ce scrie mai sus incearca sa-ti instalezi Microsoft Visual c++ 2010
  13. Ph0eniX

    Problema mysql

    Topic inchis , respecta modelu'.
  14. Topic inchis , 48h+ fara up/reply.
  15. Topic inchis , 48h+ fara up/reply.
  16. Topic inchis , respecta modelu'.
  17. Ph0eniX

    Comanda mute

    Topic inchis , 48h+ fara reply.
  18. Fa un stock unde sa se creeze din nou masinile sau , daca nu este in acelasi GM/FS comanda respawncars cu masinile pers , fa in fs-u cu masini personale un public ex: public RespawnPCars() { wifi = Create.... si ce mai vrei tu } la comanda respawncars pui SetTimer... pt acest public , succes si te astept cu reply. EDIT: Topic inchis , 48h+ fara reply.
  19. Topic inchis , 48h+ fara up/reply.
  20. Topic inchis , 48h fara up / reply.
  21. Ai IP Dinamic , instaleaza hamachi si adauga ip-u de la hamachi
  22. Topic inchis , 48h+ fara reply.
  23. if(GetPlayerInterior(killerid) != 1) { SetPlayerWantedLevel(killerid, GetPlayerWantedLevel(killerid) +1); } in loc de 1 pui interiori in care nu vrei sa dea wanted
  24. Topic inchis , 48h+ fara reply.
  25. Topic inchis , 48h+ fara reply.
×
×
  • 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.