12.07.2009, 03:16
Is this Script ok?
It's at the end of OnplayerCommandtext
Код:
if(!strcmp(cmd,"/tonline",true))
{
if (gTeam[playerid] == TEAM_COPS)
GetPlayerName(playerid, name, sizeof(name));
format(string, sizeof(string), "Taxi Driver s% is now onduty need Taxi? use /912. ", name);
SendClientMessageToAll(COLOR_YELLOW, string);
}
else return SendClientMessage(playerid,COLOR_YELLOW,"SERVER: You are not a Taxi Driver !");
}
return 1;
}
It's at the end of OnplayerCommandtext


.