Command not working
#2

this is the nos script i use:

Код:
new InvalidNosVehicles[30] =
{
  581,523,462,521,463,522,461,448,468,586,
  509,481,510,472,473,493,595,484,430,453,
  452,446,454,590,569,537,538,539,570,449
};
and

Код:
forward IsPlayerInInvalidNosVehicle(playerid);
public IsPlayerInInvalidNosVehicle(playerid)
{
  new carid = GetPlayerVehicleID(playerid);
  new carmodel = GetVehicleModel(carid);
  for (new i=0; i<sizeof(InvalidNosVehicles); i++) {
    if (carmodel == InvalidNosVehicles[i]) return 1;
  }
  return 0;
}
im guessing you can just modify that

ie change invalidnosvehicle to inflyingvehicle

change the ids in the new bit at the top

call back like so:

Код:
if(!IsPlayerInInvalidNosVehicle(playerid)) {
Reply


Messages In This Thread
Command not working - by Torran - 07.03.2010, 22:22
Re: Command not working - by adsy - 07.03.2010, 22:26
Re: Command not working - by Carlton - 07.03.2010, 22:28
Re: Command not working - by Gyvo - 07.03.2010, 22:32
Re: Command not working - by adsy - 07.03.2010, 22:41
Re: Command not working - by Torran - 07.03.2010, 22:45
Re: Command not working - by adsy - 07.03.2010, 23:30
Re: Command not working - by Torran - 07.03.2010, 23:44
Re: Command not working - by Torran - 08.03.2010, 14:44
Re: Command not working - by Gyvo - 08.03.2010, 15:19

Forum Jump:


Users browsing this thread: 1 Guest(s)