/enter command help
#7

Quote:
Originally Posted by Glad2BeHere
Посмотреть сообщение
pawn Код:
//for player in range of the point u want, correct coding

//enter
if(IsPlayerInRangeOfPoint(playerid, 10,1483.69995117,-1750.09997559,15.30000019))

// exit
if(IsPlayerInRangeOfPoint(playerid,10, 1478.50000000,-1750.19995117,15.30000019))
pawn Код:
//to do it anywhere, remove;

//enter
if(IsPlayerInRangeOfPoint(playerid, 10,1483.69995117,-1750.09997559,15.30000019))

// exit
if(IsPlayerInRangeOfPoint(playerid,10, 1478.50000000,-1750.19995117,15.30000019))
I still can't seem to fix this, and I can't really find out the difference between your two code scripts you posted. Are you saying I need to change my /enter and /exit command to this?:


PHP код:
CMD:enter(playeridparams[])
{
    
IsPlayerInRangeOfPoint(playerid3,1481.0547,-1772.0500,18.7958); //CityHallEntrance
    
IsPlayerInRangeOfPoint(playerid,3384.808624,173.804992,1008.382812);
    return 
1;
}
CMD:exit(playeridparams[])
{
    
IsPlayerInRangeOfPoint(playerid3,384.808624,173.804992,1008.382812);
    
IsPlayerInRangeOfPoint(playerid,31481.0547,-1772.0500,18.7958);
    return 
1;

If so, these commands still don't work. Am I doing somthing wrong?
Reply


Messages In This Thread
/enter command help - by Alyster - 06.11.2012, 02:19
Re: /enter command help - by Glad2BeHere - 06.11.2012, 02:33
Re: /enter command help - by Alyster - 06.11.2012, 04:52
Re: /enter command help - by Glad2BeHere - 06.11.2012, 05:38
Re: /enter command help - by RajatPawar - 06.11.2012, 05:53
Re: /enter command help - by Glad2BeHere - 06.11.2012, 06:05
Re: /enter command help - by Alyster - 06.11.2012, 11:20

Forum Jump:


Users browsing this thread: 2 Guest(s)