Problem with /setskinall
#2

You need to use use sscanf() or strval() to get the sID.

ex.
if(sscanf(params, "i", sID)) return SendClientMessage(playerid, 0xFF0000AA, "Usage: /strval <skinid>");
or
sID = strval(params);

Using sscanf() is probably the better way since it takes care of checking if a value was actually given.
Reply


Messages In This Thread
Problem with /setskinall - by GwENiko - 24.09.2013, 01:19
Re: Problem with /setskinall - by Pottus - 24.09.2013, 01:25

Forum Jump:


Users browsing this thread: 1 Guest(s)