23.09.2011, 12:43
until sscanf2 gets fixed to work with future versions, my suggstion is to stick to the "d" instead the "u" as TargetID. my old code in the gamemode looks like
... this fails atm, due to the sscanf returns 0 as TargetID always.
copy your command, and apply the simple change:
... then paste it in a filterscript. a filterscript command will bypass your gamemode command, so your gamemode command is safe, but not used anymore, as long the filterscript is loaded. iam using this trick for all commands (using a "d",TargetID).
as soon an update for sscanf2 is available, i only need to unload (remove from server.cfg) the commands filterscipt.
Код:
CMD:goto(playerid,params[]){ new TargetID; if (sscanf(params,"u",TargetID))
copy your command, and apply the simple change:
Код:
CMD:goto(playerid,params[]){ new TargetID; if (sscanf(params,"d",TargetID))
as soon an update for sscanf2 is available, i only need to unload (remove from server.cfg) the commands filterscipt.