13.03.2012, 02:13
It's to do with SSCANF and mine works in the exact same way, can someone explain why this one: (VORTEX 2) Works.
But mine; Pretty much the same; Doesnt.
ISSUE IS: The SendClientMessage's do not display for mine, but they do on the first.
pawn Код:
else if(strcmp(tool, "Disregard", true) == 0) {
new
userID,
string[128];
if(sscanf(params, "s[16]u", tool, userID)) {
SendClientMessage(playerid, COLOR_GREY, SYNTAX_MESSAGE"/reports disregard [playerid]");
}
pawn Код:
if(strcmp(usage, "store", true) ==0)
{
if(sscanf(params, "s[24]s[32]",usage,item))
{
SendClientMessage(playerid, COLOUR_GREY, "Usage: /trunk store [item]");
SendClientMessage(playerid, COLOUR_GREY, "Available Items: Weapon, Weed, Cocaine, Money, Armour");
}