Quote:
Originally Posted by Tigerkiller
pawn Код:
CMD:setworld(playerid,params[]) { new world; if(sscanf(params,"d",world)) return SendClientMessage(playerid,0xFF0000FF,"Use /setworld <playerid>"); { new s[50]; format(s,sizeof s,"World changed to %d",world); SendClientMessage(playerid,0xFF0000FF,s); SetPlayerVirtualWorld(playerid,world); } return 1; }
|
i have #include sscanf2
(6716) : error 017: undefined symbol "params" ==>> if(sscanf(params,"d",world)) return SendClientMessage(playerid,0xFF0000FF,"Use /setworld <playerid>");