05.09.2010, 17:56
(
Последний раз редактировалось Burridge; 05.09.2010 в 18:18.
)
pawn Код:
#include <a_samp>
new
AdminVehicle;
public OnFilterScriptInit()
{
AdminVehicle = AddStaticVehicle(541,711.4348,1948.3846,5.0976,179.8788, -1, -1); //Bullet
return 1;
}
public OnPlayerEnterVehicle(playerid, vehicleid)
{
if(Vehicle == AdminVehicle && !IsPlayerAdmin(playerid))
{
RemovePlayerFromVehicle(playerid);
SendClientMessage(playerid, 0x33AA33AA, "I'm sorry, but this car has been reserved for Admins only!");
}
return 1;
}