else if(!strcmp(option, "skin", true, 6))
{
if(sscanf(params, "s[8]i", option, amount)) return SendClientMessage(playerid, COLOR_WHITE, "/seteventinfo skin [skinid]");
EventSkin = amount;
format(string, sizeof(string), " You have set the event's Skin to %d.", amount);
SendClientMessage(playerid, COLOR_LIGHTBLUE, string);
}
|
I am trying to add one thing to the event, It would be event skin... but I only got part of it so far and need help with the rest
Код:
else if(!strcmp(option, "skin", true, 6))
{
if(sscanf(params, "s[8]i", option, amount)) return SendClientMessage(playerid, COLOR_WHITE, "/seteventinfo skin [skinid]");
EventSkin = amount;
format(string, sizeof(string), " You have set the event's Skin to %d.", amount);
SendClientMessage(playerid, COLOR_LIGHTBLUE, string);
}
|