27.01.2013, 07:48
Hey. I have problem with sscanf.
It's only a part of code but id gives me 101 when I type 1. Why is it?
Код:
dcmd_aget(playerid, params[]) { new id, choose[8]; sscanf(params, "is", id, choose); if(!strlen(params)) return SendClientMessage(playerid, 0, "Użycie: /aget [id] [opcja]"); printf("%i guwno", id); if(!IsPlayerConnected(id)) return SendClientMessage(playerid, 0, "Nie znaleziono gracza.");