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"
String is used if you Send a formatted message. Remove new string
|