Car help.
#1

Ok. So i was told to put this into my script and it gives me 12 errors and alot of warnings. Why didnt it work?

//top of script
new car;

//OnGameModeInit
car = CreateVehicle(..); // or AddStaticVehicle

//OnPlayerEnterVehicle
if(vehicleid == car)
{
new name[MAX_PLAYER_NAME];
GetPlayerName(playerid, name, sizeof name);
if(strcmp(name, "desired name here", true) != 0)
{
RemovePlayerFromVehicle(playerid);
}
}
Reply


Messages In This Thread
Car help. - by RoneyRemington - 13.02.2010, 21:36
Re: Car help. - by LiDeRu`s - 13.02.2010, 21:39
Re: Car help. - by RoneyRemington - 13.02.2010, 21:50
Re: Car help. - by RoneyRemington - 13.02.2010, 22:04
Re: Car help. - by aNdReSkKkK - 13.02.2010, 23:25
Re: Car help. - by RoneyRemington - 14.02.2010, 00:29
Re: Car help. - by RoneyRemington - 14.02.2010, 00:37
Re: Car help. - by aNdReSkKkK - 14.02.2010, 00:43
Re: Car help. - by RoneyRemington - 14.02.2010, 00:45
Re: Car help. - by aNdReSkKkK - 14.02.2010, 00:50

Forum Jump:


Users browsing this thread: 1 Guest(s)