Making a /megaphone command
#4

pawn Код:
public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
{
    new Float:X,Float:Y, Float:Z;
    GetPlayerPos(playerid,X,Y,Z);

    if(IsPlayerInVehicle(playerid,/*the vehicle*/)){
        SetVehicleParamsForPlayer(GetPlayerVehicleID(playerid),playerid, 0, 1);
        SetPlayerPos(playerid,X,Y,Z);
    }
    return 1;
}
Reply


Messages In This Thread
Making a /megaphone command - by gemadon - 04.06.2009, 21:02
Re: Making a /megaphone command - by Badger(new) - 04.06.2009, 21:26
Re: Making a /megaphone command - by gemadon - 04.06.2009, 21:51
Re: Making a /megaphone command - by Badger(new) - 04.06.2009, 22:00

Forum Jump:


Users browsing this thread: 1 Guest(s)