29.07.2013, 00:44
tenta so assim
pawn Код:
public MotorPet(vehicleid)
{
new velopet5[128];
for (new i=0; i<MAX_PLAYERS; i++)
{
if(newstate == PLAYER_STATE_PASSENGER)
{
if(motor[i] == 1)
{
format(velopet5,sizeof(velopet5),"~r~~h~~h~~h~~h~Motor: ~w~Ligado");
}
else if(motor[i] == 0)
{
format(velopet5,sizeof(velopet5),"~r~~h~~h~~h~~h~Motor: ~w~Desligado");
}
TextDrawSetString(MotorOnOFF[i], velopet5);
}
}
}