SetEventInfo weird bug
#5

Quote:
Originally Posted by EnzoMetlc
Посмотреть сообщение
Hmm, try something like this:

pawn Код:
if(sscanf(params[7], "f", hp)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /seteventinfo health [amount]");
Where sscanf will start scan from the 7st index (you should to change it in every option).

Код:
health 100.0
^^^^^^^^
01234567...
I am having a warning on the console
"sscanf warning: string buffer overflow"
Reply


Messages In This Thread
SetEventInfo weird bug - by NeXoR - 18.11.2016, 09:08
Respuesta: SetEventInfo weird bug - by Swedky - 18.11.2016, 09:11
Re: Respuesta: SetEventInfo weird bug - by NeXoR - 18.11.2016, 09:25
Respuesta: SetEventInfo weird bug - by Swedky - 18.11.2016, 09:51
Re: Respuesta: SetEventInfo weird bug - by NeXoR - 18.11.2016, 18:20
Re: SetEventInfo weird bug - by NeXoR - 18.11.2016, 21:36

Forum Jump:


Users browsing this thread: 1 Guest(s)