25.08.2012, 09:18
Simple and easy..
https://sampforum.blast.hk/showthread.php?tid=361798
https://sampforum.blast.hk/showthread.php?tid=361798
pawn Код:
#include <a_samp>
#include <sscanf>
#include <zcmd>
CMD:vw(playerid,params[])
{
new virtualworld;
if(sscanf(params,"i",virtualworld)) return SendClientMessage(playerid,-1,"USAGE: /vw [id]");
else
{
new str[256];
SetPlayerVirtualWorld(playerid,virtualworld);
format(str,sizeof(str),"You are now in virtual world %d",virtualworld);
SendClientMessage(playerid,-1,str);
}
return 1;
}