Annoying sscanf id 0 debug
#6

I am aware of only 1 issue with sscanf so far (no sure if its an issue actually), using the identifier "u" does not identify an NPC. so for example if userid is an NPC and i use the following code:
PHP код:
//code above
new userid;
if(
sscanf(params"u"userid)) return 0;
if(!
IsPlayerConnected(userid)) return SendClientMessage(playerid, -1"player not connected");
//rest of code 
the output would be
Quote:

player not connected.

Reply


Messages In This Thread
Annoying sscanf id 0 debug - by KinderClans - 10.09.2018, 12:31
Re: Annoying sscanf id 0 debug - by KinderClans - 10.09.2018, 12:35
Re: Annoying sscanf id 0 debug - by KinderClans - 10.09.2018, 12:52
Re: Annoying sscanf id 0 debug - by NeXTGoD - 10.09.2018, 15:39
Re: Annoying sscanf id 0 debug - by GameOvr - 10.09.2018, 15:41
Re: Annoying sscanf id 0 debug - by iLearner - 10.09.2018, 15:44
Re: Annoying sscanf id 0 debug - by m4karow - 10.09.2018, 16:19
Re: Annoying sscanf id 0 debug - by KinderClans - 10.09.2018, 17:50
Re: Annoying sscanf id 0 debug - by Grim_ - 11.09.2018, 06:30
Re: Annoying sscanf id 0 debug - by GameOvr - 11.09.2018, 14:59

Forum Jump:


Users browsing this thread: 3 Guest(s)