10.08.2014, 06:28
Hi all!
Could somebody make me a '/setworld' command
?
/setworld <playerid> <worldid>
Thank you
Could somebody make me a '/setworld' command

/setworld <playerid> <worldid>
Thank you

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;
}
pawn Код:
|
C:\Users\George\Desktop\SAMP Server\filterscripts\cmds.pwn(593) : warning 204: symbol is assigned a value that is never used: "string"