07.11.2014, 07:27
(
Последний раз редактировалось ThunderX; 07.11.2014 в 13:59.
)
when i use /plantc4 , /bomb it say SERVER: UNKNOWN COMMAND
Help please
Help please
public OnPlayerCommandText(playerid, cmdtext[]) { if (strcmp("/credits", cmdtext, true, 10) == 0) { SendClientMessage(playerid,COLOR_GREEN,"====================[CREDITS]===================="); SendClientMessage(playerid,COLOR_RED,"Credits: ThunderX AND TX-TEAM"); SendClientMessage(playerid,COLOR_GREEN,"================================================="); return 1; } return 0; }
CMD:credits(playerid,params[]) { SendClientMessage(playerid,COLOR_GREEN,"====================[CREDITS]===================="); SendClientMessage(playerid,COLOR_RED,"Credits: ThunderX AND TX-TEAM"); SendClientMessage(playerid,COLOR_GREEN,"================================================="); return 1; }
public OnFilterScriptInit()
{
print("\n--------------------------------------");
print("ThunderX PlantC4 IS LOADED");
print("--------------------------------------\n");
return 1;
}