GameTextForPlayer
#1

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?
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);
    }
Reply


Messages In This Thread
GameTextForPlayer - by McCarthy - 24.06.2011, 12:29
Re: GameTextForPlayer - by Wesley221 - 24.06.2011, 12:32
Re: GameTextForPlayer - by McCarthy - 24.06.2011, 13:45
Re: GameTextForPlayer - by Vince - 24.06.2011, 13:59
Re: GameTextForPlayer - by handerson - 24.06.2011, 14:03
Re: GameTextForPlayer - by McCarthy - 24.06.2011, 14:06
Re: GameTextForPlayer - by Wesley221 - 24.06.2011, 14:12
Re: GameTextForPlayer - by Calgon - 24.06.2011, 14:14
Re: GameTextForPlayer - by Wesley221 - 24.06.2011, 14:17
Re: GameTextForPlayer - by McCarthy - 24.06.2011, 14:33

Forum Jump:


Users browsing this thread: 2 Guest(s)