07.08.2009, 22:54
im not a bully im saying how can you say you script if you dont no that.
then use SetPlayerToTeamColor for players color so set to a color for registerd cops etc...
pawn Код:
}
if(strcmp(cmdtext,"/fillnos",true)==0)
{
if(IsPlayerInAnyVehicle(playerid))
{
if(GetPlayerState(playerid) == 2)
{
new vid = GetPlayerVehicleID(playerid);
AddVehicleComponent(vid, 1010);
SendClientMessage(playerid,COLOR_MYCOLOR," NOS ADDED!.");
return 1;
}
else
{
SendClientMessage(playerid,COLOR_WHITE," You must be the driver to add nos.");
return 1;
}
}
else
{
SendClientMessage(playerid,COLOR_WHITE," You must be in a vehicle to use this command.");
return 1;
}