24.06.2011, 12:29
Okay, so I'm making a script that if somebody enters a rhino, it kills them and send a text. But if you are logged in as rcon admin it wont
But the problem is that it sends the text when I enter any vehicle, how can I make it for rhino only?
But the problem is that it sends the text when I enter any vehicle, how can I make it for rhino only?
pawn Код:
public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
{
new model = GetVehicleModel( vehicleid );
if ( model == 432 )
SetPlayerHealth(playerid,0);
GameTextForPlayer(playerid,"~r~Dont touch my toys",5000,5);
}