Jump to content

Ajutor comanda /takemeat


Keny RPG

Recommended Posts

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
Link to comment
Share on other sites

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
Link to comment
Share on other sites

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

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.