16.04.2011, 22:04
Right, so for my roleplay server i'd like a recon plane for a military faction, the recon plane being the Nevada plane (Vehicle ID: 553) and i've done this:
And none of this is working at all, so what should i have done?
pawn Код:
forward IsPlayerInReconPlane(playerid);
public IsPlayerInReconPlane(playerid)
{
new carid = GetPlayerVehicleID(playerid);
new carmodel = GetVehicleModel(carid);
if(carmodel == 553)
{
LimitPlayerMarkerRadius(3000.0);
ShowPlayerMarkers(1);
SendClientMessage(playerid, WHITE, "You are in a SAMC Recon Plane.");
}
else
{
}
return 1;
}