07.02.2010, 18:09
I made this script
if(strcmp(cmd, "/fireduty", true) == 0) {
SendClientMessage(playerid, COLOR_RED1, "You are now a Firefighter");
SendClientMessage(playerid, COLOR_RED1, "You have no command at this time");
gTeam[playerid] = TEAM_FIRE;
SetPlayerColor(playerid, COLOR_RED);
SetPlayerPos(playerid, 1776.2158,2080.5100,10.8203);
GivePlayerWeapon(playerid, 9, 1);
GivePlayerWeapon(playerid, 42, 500);
SetPlayerSkin(playerid, 27
;
return 1;
}
and when i go ingame to test it shows the SEVER:UNKNOWNCOMMAND
if(strcmp(cmd, "/fireduty", true) == 0) {
SendClientMessage(playerid, COLOR_RED1, "You are now a Firefighter");
SendClientMessage(playerid, COLOR_RED1, "You have no command at this time");
gTeam[playerid] = TEAM_FIRE;
SetPlayerColor(playerid, COLOR_RED);
SetPlayerPos(playerid, 1776.2158,2080.5100,10.8203);
GivePlayerWeapon(playerid, 9, 1);
GivePlayerWeapon(playerid, 42, 500);
SetPlayerSkin(playerid, 27
![Cool](images/smilies/cool.gif)
return 1;
}
and when i go ingame to test it shows the SEVER:UNKNOWNCOMMAND