19.09.2009, 12:26
hi!
ive made a npc -> flys from airport to airport.
and i want a message if you land on an airport.
+timer
and yes im able to enter shamal as passenger^^ (-> script)
but if im in the near of the point nothing happends... no gametext^^
why?!
ive made a npc -> flys from airport to airport.
and i want a message if you land on an airport.
Код:
forward lvairport(playerid,vehicleid,ispassenger); public lvairport(playerid,vehicleid,ispassenger) { if(IsPlayerInAnyVehicle(playerid)) { if (GetVehicleModel(vehicleid) == 519 && ispassenger) { if(IsPlayerInRangeOfPoint(playerid, 100.0, 1477.654541, 1367.563964, 10.398267)) { GameTextForPlayer(playerid,"Wir sind nun in ~n~~r~Las Venturas ~n~gelandet.",3000,3); } } } return 1; }
Код:
SetTimer("lvairport", 500, true);
but if im in the near of the point nothing happends... no gametext^^
why?!