Need help with CMDS
#5

Quote:
Originally Posted by SickAttack
Посмотреть сообщение
/vw = Virtual World.
pawn Код:
CMD:vw(playerid, params[])
{
    new vw, string[100];
    if(sscanf(params,"i", vw) || vw < 0 || vw > 999999)
    {
        SendClientMessage(playerid, 0xFFFFFFFF, "Usage: /vw <0-999999>.");
        return 1;
    }
    format(string, sizeof (string), "You've set your virtual world to %i!", vw);
    SendClientMessage(playerid, 0xFFFFFFFF, string);
    SetPlayerVirtualWorld(playerid, vw);
    return 1;
}
Thx but, when I put it in pawno, it gives me erros when I compile
Undefined symbols params and some more
When I define them, it still gives me the error plz can u make it in the normal way?
Which is:

if(!strcmp(cmdtext, "/help", true))
Reply


Messages In This Thread
Need help with CMDS - by Jacob756 - 26.03.2014, 21:09
Re: Need help with CMDS - by Bingo - 26.03.2014, 21:22
Re: Need help with CMDS - by SickAttack - 26.03.2014, 21:32
Re: Need help with CMDS - by Jacob756 - 26.03.2014, 21:32
Re: Need help with CMDS - by Jacob756 - 26.03.2014, 21:41
Re: Need help with CMDS - by SickAttack - 26.03.2014, 21:44
Re: Need help with CMDS - by Jacob756 - 26.03.2014, 21:47
Re: Need help with CMDS - by SickAttack - 26.03.2014, 21:52
Re: Need help with CMDS - by Jacob756 - 26.03.2014, 21:57

Forum Jump:


Users browsing this thread: 2 Guest(s)