09.01.2010, 11:06
Quote:
|
Originally Posted by Mo3
1.) OnPlayerEnterVehicle
2.) GetPlayerVehicleModel 3.) if(model == ADMINCAR) 4.) RemovePlayerFromVehicle |
Код:
AddStaticVehicle(545,-2237.8757,-1712.4080,480.6812,188.3410,44,96); // admincar10 AddStaticVehicle(545,-2237.0417,-1718.1138,480.6796,188.2534,44,96); // admincar12 AddStaticVehicle(545,-2236.3730,-1723.5104,480.6723,187.3156,44,96); // admincar13 AddStaticVehicle(545,-2235.7861,-1728.0155,480.6618,187.4335,44,96); // admincar14 AddStaticVehicle(545,-2231.8418,-1738.1964,480.9620,218.0235,44,96); // admincar15 AddStaticVehicle(545,-2235.1506,-1740.0599,480.6364,216.1143,44,96); // admincar16 AddStaticVehicle(545,-2238.9924,-1746.1462,480.6679,212.2924,44,96); // admincar17
i got it under public OnFilterScriptInit()
But i dont know how to make them to admin onlycars so if an player can go in it they need to respawn, die or be kicked.
if they trie to get in with F or Enter that its locked or that they cant get in, can somebody help me? with a starting piece of the code? i want to do a part by myself

