05.04.2009, 12:17
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"
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"