Need help
#6

Change this line:
PHP код:
if(sscanf(params"ui"idtext)) return SendClientMessage(playerid, -1"USAGE: /settext [ID] [Text]"); 
To this line:
PHP код:
if(sscanf(params"us[128]"idtext)) return SendClientMessage(playerid, -1"USAGE: /settext [ID] [Text]"); 
The specifier 'i' means an integer, however here you want the player to type a text so the specifier will be 's'.
Reply


Messages In This Thread
Settext cmd - by SaiyanZ - 06.02.2017, 12:12
Re: Need help - by AndreiWow - 06.02.2017, 12:38
Re: Need help - by SaiyanZ - 06.02.2017, 12:44
Re: Need help - by antoaneu - 06.02.2017, 13:03
Re: Need help - by SaiyanZ - 06.02.2017, 13:14
Re: Need help - by antoaneu - 06.02.2017, 15:54

Forum Jump:


Users browsing this thread: 1 Guest(s)