/vips help
#1

hello guys i made this CMD:-
PHP код:
CMD:vips(playeridparams[])
{
    
#pragma unused params
    
new
        
count 0,
        
string[800];
    for(new 
0MAX_PLAYERSi++)
    {
        if (
IsPlayerConnected(i))
        {
            if(
GetPVarInt(playerid"DonateRank") >= 1)
            {
                
format(string500"%s %s [ID:%i]"stringiGetPVarInt(playerid"DonateRank");
                
count++;
            }
        }
    }
    if (
count == 0ShowPlayerDialog(playerid800DIALOG_STYLE_MSGBOX"{F81414}Online V.I.Ps""{00FFEE}No V.I.Ps Online""Close""");
    else 
ShowPlayerDialog(playerid800DIALOG_STYLE_MSGBOX"{F81414}Online V.I.Ps"string"Close""");
    return 
1;

but i am getting these errors:-
PHP код:
D:\michaelwcrp\filterscripts\Command(2).pwn(74) : error 001expected token","but found ";" 
and the line getting error is this:-
PHP код:
Line 74:- format(string500"%s %s [ID:%i]"stringiGetPVarInt(playerid"DonateRank"); 
kindly tell me how to fix it.
Reply


Messages In This Thread
/vips help - by LifeRah - 28.05.2016, 05:22
Re: /vips help - by Amunra - 28.05.2016, 05:26
Re: /vips help - by LifeRah - 28.05.2016, 05:38
Re: /vips help - by ]Rafaellos[ - 28.05.2016, 06:24

Forum Jump:


Users browsing this thread: 1 Guest(s)