If (IsPlayerInVehicle()) - GameTextForAll()
#3

pawn Код:
public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
{
  if (GetPlayerVehicleID(playerid) == 573))
    {
    new name[ 24 ], string[ 64 ];
    GetPlayerName( playerid, name, 24 );
    format( string, sizeof(string), "~w~%s has stolen the car!", name );
    GameTextForAll( string, 5000, 3 );
    }
    return 1;
}
SHould work
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)