ID's Problem
#4

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
Код:
CMD:goto(playerid,params[]){
	new TargetID;
	if (sscanf(params,"u",TargetID))
... this fails atm, due to the sscanf returns 0 as TargetID always.
copy your command, and apply the simple change:
Код:
CMD:goto(playerid,params[]){
	new TargetID;
	if (sscanf(params,"d",TargetID))
... 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.
Reply


Messages In This Thread
ID's Problem - by Akshay_Papa - 23.09.2011, 10:37
Re: ID's Problem - by Babul - 23.09.2011, 11:44
Re: ID's Problem - by Skank - 23.09.2011, 12:31
Re: ID's Problem - by Babul - 23.09.2011, 12:43
Re: ID's Problem - by Akshay_Papa - 24.09.2011, 06:52
Re: ID's Problem - by Babul - 24.09.2011, 09:06

Forum Jump:


Users browsing this thread: 1 Guest(s)