/SETWORLD
#2

pawn Код:
CMD:setworld(playerid,params[])
{
    new id, world;
    if(sscanf(params,"ui",id,world)) return SendClientMessage(playerid,-1,"USAGE: /setworld <player ID> <World ID>");
    if(!IsPlayerConnected(id)) return SendClientMessage(playerid,-1,"ERROR: This player isn't connected!");
    SetPlayerVirtualWorld(id,world);
    return 1;
}
Uses sscanf and Ycmd.
Reply


Messages In This Thread
/SETWORLD - by boyan96 - 29.08.2011, 14:52
Re: /SETWORLD - by [MWR]Blood - 29.08.2011, 14:55
Re: /SETWORLD - by Tigerkiller - 29.08.2011, 14:56
Re: /SETWORLD - by Luis- - 29.08.2011, 15:27
Re: /SETWORLD - by boyan96 - 29.08.2011, 15:34
Re: /SETWORLD - by dreamworld - 29.08.2011, 15:50
Re: /SETWORLD - by boyan96 - 29.08.2011, 16:41
Re: /SETWORLD - by =WoR=Varth - 29.08.2011, 16:45
Re: /SETWORLD - by dreamworld - 21.09.2011, 20:48

Forum Jump:


Users browsing this thread: 2 Guest(s)