Variable
#2

pawn Код:
CMD:t1(playerid,params[])
{
    masinike[playerid] = 400; // No idea why you do this, since it will always evaluate the next IF as false
   
    if(masinike[playerid] == 0)
    {
        SendClientMessage(playerid,RAUDONA,"No units.");
    }
    else
    {
        new msg[24];
        format(msg,sizeof(msg),"Is units: v%d", masinike[playerid]);
        SendClientMessage(playerid,RAUDONA,msg);
    }
    return 1;
}
Reply


Messages In This Thread
Variable - by deimantas1 - 23.07.2013, 14:35
Re: Variable - by Sinner - 23.07.2013, 14:41
Re: Variable - by Aliassassin123456 - 23.07.2013, 14:44
Re: Variable - by deimantas1 - 23.07.2013, 15:08
Re: Variable - by MP2 - 23.07.2013, 15:09
Re: Variable - by deimantas1 - 23.07.2013, 15:12

Forum Jump:


Users browsing this thread: 1 Guest(s)