/setworld command
#3

Quote:
Originally Posted by AMouldyLemon
Посмотреть сообщение
pawn Код:
command(setworld, playerid, params[])
{
    if(// Admin code)
    {
        new id, world, string[256];
        if(sscanf(params, "ud", id, world)) return SendClientMessage(playerid, WHITE, "Server: /setworld [playerid/name] [world]");
        {
            SetPlayerVirtualWorld(id, world);
        }
    }
    else return SendClientMessage(playerid, -1, "Admin Only.");
    return 1;
}
Im getting a warning:

pawn Код:
C:\Users\George\Desktop\SAMP Server\filterscripts\cmds.pwn(593) : warning 204: symbol is assigned a value that is never used: "string"
Reply


Messages In This Thread
/setworld command - by Snail - 10.08.2014, 06:28
Re: /setworld command - by AMouldyLemon - 10.08.2014, 06:44
Re: /setworld command - by Snail - 10.08.2014, 06:51
Re: /setworld command - by JonathanW - 10.08.2014, 07:12
Re: /setworld command - by Snail - 10.08.2014, 07:23

Forum Jump:


Users browsing this thread: 1 Guest(s)