help with pickups[SOLVED]
#7

Add this in OnGameModeInit:

pawn Код:
SetTimer( "PickupMessages", 1500, true );
Add this below OnGameModeInit:
pawn Код:
forward PickupMessages();
public PickupMessages()
{
    new Float: TX, Float: TY, Float: TZ;
   
    for(new i = 0; i < MAX_PLAYERS; i++)
    {
        GetPlayerPos( i, TX, TY, TZ );
       
        if( IsPlayerInRangeOfPoint( i, 5.0, 1763.684, -1486.484, 453.757 ) )
        {
          GameTextForPlayer( i, "Jump out and dive!", 2500, 6 );
        }
    }
    return 1;
}
Reply


Messages In This Thread
help with pickups[SOLVED] - by Lorenc_ - 25.01.2010, 00:44
Re: help with pickups - by Lorenc_ - 25.01.2010, 01:44
Re: help with pickups - by pierhs - 25.01.2010, 04:42
Re: help with pickups - by Lorenc_ - 25.01.2010, 05:06
Re: help with pickups - by CuervO - 25.01.2010, 06:45
Re: help with pickups - by Lorenc_ - 26.01.2010, 09:25
Re: help with pickups - by Calgon - 26.01.2010, 09:49
Re: help with pickups - by PRANK - 26.01.2010, 11:17
Re: help with pickups - by Lorenc_ - 26.01.2010, 22:39
Re: help with pickups - by kmzr - 26.01.2010, 23:06

Forum Jump:


Users browsing this thread: 4 Guest(s)