- 0
GETGIFT
-
Similar Content
-
- 3 replies
- 542 views
-
-
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;
}
4 answers to this question
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now