10.05.2013, 15:20
Hello Guys
Here's my Code
Which is not working
Whenever i enter any of these vehicles nothing show's up
Here's my Code
Which is not working
Whenever i enter any of these vehicles nothing show's up
pawn Код:
public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
{
if(IsPlayerInVehicle(playerid, 522))
{
SendClientMessage(playerid,0xFFFFFFFFF,"Antifall has been automatically activated on your NRG-500!");
}
if(IsPlayerInVehicle(playerid, 521))
{
SendClientMessage(playerid,0xFFFFFFFFF,"Antifall has been automatically activated on your FCR-900!");
}
if(IsPlayerInVehicle(playerid, 461))
{
SendClientMessage(playerid,0xFFFFFFFFF,"Antifall has been automatically activated on your PCJ-600!");
}
if(IsPlayerInVehicle(playerid, 448))
{
SendClientMessage(playerid,0xFFFFFFFFF,"Antifall has been automatically activated on your Pizza-Boy!");
}
if(IsPlayerInVehicle(playerid, 462))
{
SendClientMessage(playerid,0xFFFFFFFFF,"Antifall has been automatically activated on your Faggio!");
}
if(IsPlayerInVehicle(playerid, 463))
{
SendClientMessage(playerid,0xFFFFFFFFF,"Antifall has been automatically activated on your Freeway!");
}
if(IsPlayerInVehicle(playerid, 468))
{
SendClientMessage(playerid,0xFFFFFFFFF,"Antifall has been automatically activated on your Sanchez!");
}
if(IsPlayerInVehicle(playerid, 523))
{
SendClientMessage(playerid,0xFFFFFFFFF,"Antifall has been automatically activated on your HPV-1000!");
}
if(IsPlayerInVehicle(playerid, 581))
{
SendClientMessage(playerid,0xFFFFFFFFF,"Antifall has been automatically activated on your BF-400!");
}
if(IsPlayerInVehicle(playerid, 586))
{
SendClientMessage(playerid,0xFFFFFFFFF,"Antifall has been automatically activated on your Wayfarer!");
}
return 1;
}