Is vehicle flying
#4

by mapandreas

PHP код:
#include <a_samp>
#include <mapandreas>
OnFilterScriptInit()
{
    
MapAndreas_Init(MAP_ANDREAS_MODE_FULL);
    return 
1;
}
public 
OnPlayerUpdate(playerid)
{
    new 
Float:Pos[4];
     
GetPlayerPos(playeridPos[0], Pos[1], Pos[2]);
     
MapAndreas_FindZ_For2DCoord(Pos[0], Pos[1], Pos[3]);
     if(
Pos[2] > Pos[3] && Pos[2] < Pos[3])
     {
         
// FLAYY
    
}
    return 
1;

Golf,
Reply


Messages In This Thread
Is vehicle flying - by cnoopers - 07.03.2015, 15:17
Re: Is vehicle flying - by ATGOggy - 07.03.2015, 15:18
Re: Is vehicle flying - by Abagail - 07.03.2015, 15:22
Re: Is vehicle flying - by Golf - 07.03.2015, 15:31

Forum Jump:


Users browsing this thread: 1 Guest(s)