SCRIPT CAR THAT ONLY ONE NAME CAN DRIVE? HOW HELP ME?
#3

If u want elegy etc then add these things to your script..

Code:
new adminSultan;
Then add vehicle to somewhere
Like :
Code:
adminSultan = AddStaticVehicle(560,2120.8914,2367.4456,10.5250,179.6506,0,0); // Admin Sultan
And add this :
Code:
if(oldstate == PLAYER_STATE_ONFOOT && newstate == PLAYER_STATE_DRIVER && GetPlayerVehicleID(playerid) == adminSultan && PlayerAdminLevel[playerid] != 1338 || oldstate == PLAYER_STATE_ONFOOT && newstate == PLAYER_STATE_DRIVER && GetPlayerVehicleID(playerid) == adminElegy && PlayerAdminLevel[playerid] != 1338) {
	RemovePlayerFromVehicle(playerid);
	SendClientMessage(playerid,COLOR_ERROR,"This vehicle is reserved for Server Admins - You cannot use this vehicle!");
	return 1;
Thats it i think ..

//
Reply


Messages In This Thread
SCRIPT CAR THAT ONLY ONE NAME CAN DRIVE? HOW HELP ME? - by buonggiorno - 01.12.2009, 00:07
Re: SCRIPT CAR THAT ONLY ONE NAME CAN DRIVE? HOW HELP ME? - by diesulke - 01.12.2009, 20:18
Re: SCRIPT CAR THAT ONLY ONE NAME CAN DRIVE? HOW HELP ME? - by makogemata - 02.12.2009, 11:39

Forum Jump:


Users browsing this thread: 1 Guest(s)