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