Quote:
Originally Posted by SickAttack
/vw = Virtual World.
pawn Код:
CMD:vw(playerid, params[]) { new vw, string[100]; if(sscanf(params,"i", vw) || vw < 0 || vw > 999999) { SendClientMessage(playerid, 0xFFFFFFFF, "Usage: /vw <0-999999>."); return 1; } format(string, sizeof (string), "You've set your virtual world to %i!", vw); SendClientMessage(playerid, 0xFFFFFFFF, string); SetPlayerVirtualWorld(playerid, vw); return 1; }
|
Thx but, when I put it in pawno, it gives me erros when I compile
Undefined symbols params and some more
When I define them, it still gives me the error plz can u make it in the normal way?
Which is:
if(!strcmp(cmdtext, "/help", true))