[HELP] Vehicle lock
#1

I want to make a vehicle to be locked for every play just not for admins and for a player who own that vehicle :

OnGameModeInIt()

if(GetPlayerName(playerid) == Franko)
{
AddStaticVehicle(521,1828.1996,-1688.3999,13.1021,305.5544,75,13); // test
}
else
{
SendClientMessage(playerid,COLOR_DBLUE,"You cant enter this vehicle, Franko is the owner of it");
}


whats wrong with this? i want vehicle to be locked for everyone just not for player named "Franko"
Reply


Messages In This Thread
[HELP] Vehicle lock - by Frankox - 05.04.2009, 12:17
Re: [HELP] Vehicle lock - by dre$tA - 05.04.2009, 12:37
Re: [HELP] Vehicle lock - by Frankox - 05.04.2009, 13:05

Forum Jump:


Users browsing this thread: 1 Guest(s)