07.03.2010, 22:22
I have this code:
Ingame if i type the command it dosent do a thing,
pawn Код:
if (!IsPlayerInFlyingVehicle(GetPlayerVehicleID(playerid))) SendClientMessage(playerid, RED, "You need to be a in vehicle to use this command");
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;
}