Jump to content
Autentificarea cu Google și Facebook nu mai este disponibilă. ×

Recommended Posts

Posted (edited)

SURSA:

}
CMD:takemeat(playerid, params[])
{
    if(gPlayerLogged[playerid] == 0) return SendClientMessage(playerid, COLOR_ERROR, "You are not logged in.");
    if(PinLogged[playerid] == 0) return SCM(playerid, COLOR_LIGHTRED,"Trebuie sa  introduci pin-ul mai intai.(/pin)sau sa iti setezi un pin /setpin");
    if(IsPlayerInAnyVehicle(playerid)) return SendClientMessage(playerid, COLOR_WHITE, "{FFFFCC}Error: Please exit the vehicle!");
    if(IsPlayerInRangeOfPoint(playerid, 7.0, 1161.2615,736.3726,10.8188))
    {
      new string[128];
      format(string,sizeof(string),"{FF0011}Ai luat carnea de pe gratar.[3/3].");
      SendClientMessage(playerid,COLOR_GOLD,string);
      GivePlayerCash(playerid, -50000);
      SendClientMessage(playerid, COLOR_BLUE, "Plata pentru gratar este de $50.000");
      SendClientMessage(playerid, COLOR_BLUE, "Primesti 5pp-uri pentru ca ai finalizat acest quest");
      PlayerInfo[playerid][pPremiumPoints] += 5;
    }
    else SendClientMessage(playerid, COLOR_ERROR,"Nu esti in locul special amenajat.");
    return 1;
}

cum pot sa fac aceasta comanda folosibila o data pe zi ? Am incercat sa o fac ca la /getgift si nu merge arata "Poti folosi aceasta comanda peste 0 ore"

Este pentru un sistem de camping

Edited by Keny RPG
Am adaugat alta comanda
Posted (edited)

Poti sa faci gen ca la quest dimineata la ora 7 sa se reseteze, un define si cand a dat /takemeat sa se salveze pe 1 si dimineata la ce ora vrei tu sau cand vrei sa se reseteze pentru toti pe 0 mna.. sper ca m-am facut explicit

Edited by AlexxAdv
Posted
Acum 22 ore, AlexxAdv a spus:

Poti sa faci gen ca la quest dimineata la ora 7 sa se reseteze, un define si cand a dat /takemeat sa se salveze pe 1 si dimineata la ce ora vrei tu sau cand vrei sa se reseteze pentru toti pe 0 mna.. sper ca m-am facut explicit

Daca ai putea sa-mi zici cum sa fac sunt incepator in domeniul scripting

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • 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.