Command not working
#1

I have this code:

pawn Код:
if (!IsPlayerInFlyingVehicle(GetPlayerVehicleID(playerid))) SendClientMessage(playerid, RED, "You need to be a in vehicle to use this command");
Ingame if i type the command it dosent do a thing,

pawn Код:
public IsPlayerInFlyingVehicle(vehicleid)
{
    if(GetVehicleModel(592 || 577 || 511 || 512 || 593 || 520 || 553 || 476 || 519 ||
    460 || 513 || 548 || 425 || 417 || 487 || 488 || 497 || 563 || 447 || 469)) return 1;
    return 0;
}
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)