- 0
GETGIFT
-
Recently Browsing 0 members
- No registered users viewing this page.
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.
Question
asadaf123
Salut, imi poate spune si mie cineva cum pot midifica sa nu poti da odata la o ora getgift,unde sa modific
CMD:getgift(playerid, params[])
{
if(gPlayerLogged[playerid] == 0) return SendClientMessage(playerid, COLOR_LIGHTRED, "You need to login first.");
if(IsPlayerConnected(playerid))
{
if(GiftBoxActiv > 0)
{
if(PlayerInfo[playerid][pConnectTime] <= 0) return SendClientMessage(playerid, COLOR_LIGHTRED, "You need 1 hours to use /getgift.");
if(PlayerInfo[playerid][pGiftTime] > 0)
{
new string[128];
format(string,sizeof(string),"Mai poti folosi aceasta comanda peste %d ore.",PlayerInfo[playerid][pGiftTime]);
SendClientMessage(playerid, COLOR_YELLOW, string);
return 1;
}
Link to comment
Share on other sites
4 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.