IsPlayerInVehicle problem.
#7

pawn Код:
if(IsPlayerInVehicle(playerid, 509 | 481 | 510 | 462 | 448 | 581 | 522 | 461 | 521 | 523 | 463 | 586 | 468 | 471))
To
pawn Код:
new vid = GetPlayerVehicleID( playerid );
if( vid == 509 || vid == 481 || vid == 510 || vid == 462 || vid == 448 || vid == 581 || vid == 522 || vid == 461 || vid == 521 || vid == 523 || vid == 463 || vid == 586 || vid == 468 || vid == 471 )
It might give you an error that line is too long, in that case, seperate lines with "\".
Reply


Messages In This Thread
IsPlayerInVehicle problem. - by Shetch - 27.02.2011, 14:49
Re: IsPlayerInVehicle problem. - by Master_Gangster - 27.02.2011, 15:16
Re: IsPlayerInVehicle problem. - by admantis - 27.02.2011, 15:18
Re: IsPlayerInVehicle problem. - by Shetch - 27.02.2011, 15:28
Re: IsPlayerInVehicle problem. - by Shetch - 27.02.2011, 15:52
Re: IsPlayerInVehicle problem. - by Master_Gangster - 27.02.2011, 16:30
Re: IsPlayerInVehicle problem. - by Mean - 27.02.2011, 17:15
Re: IsPlayerInVehicle problem. - by Shetch - 27.02.2011, 22:01
Re: IsPlayerInVehicle problem. - by Spectre - 28.02.2011, 03:01
Re: IsPlayerInVehicle problem. - by Shetch - 07.03.2011, 07:24

Forum Jump:


Users browsing this thread: 1 Guest(s)