[REP+]How to make certain cars (at certain positions) for only vips or admins
#2

As.. I am tired(sorry), i won't make this very hard, just simple

new vipcar;
new admincar;

//ongamemodeinit
vipcar = CreateVehicle(....);
admincar = CreateVehicle(....);

//OnPlayerEnterVehicle
if(vehicleid == vipcar && !IsPlayerVip(playerid) && ispassenger == 0) return SendClientMessage(playerid,-1,"Kiddo, this is a VIP car, go donate!");
if(vehicleid == admincar && !IsPlayerAdmin(playerid) && ispassenger == 0) return SendClientMessage(playerid,-1,"Kiddo, this is an admin car, shoo!");

dno if this works, too tired to double check it, goodluck already.
Reply


Messages In This Thread
[REP+]How to make certain cars (at certain positions) for only vips or admins - by stormchaser206 - 13.03.2012, 21:07
Re: [REP+]How to make certain cars (at certain positions) for only vips or admins - by Mike_Peterson - 13.03.2012, 21:12

Forum Jump:


Users browsing this thread: 1 Guest(s)