[HELP] Playertopoint execute withou doing anything!
#1

Hello there i have this, and i need your help with it:
pawn Код:
if (PlayerToPoint(3.0, playerid,1043.50976562,2366.23144531,24.25000000))
                {
                if(cars[playerid]==0)
                {
 //Blablabla
                }
                if (PlayerToPoint(3.0, playerid,1043.50976562,2366.23144531,16.25000000))
                {
                if(cars[playerid]==1)
                {
 //Blablabla
                }
Now there is nothing wrong with it, but i dont know where to put it because i want it to be executed when i enter the place the point is at, this means i just have to walk tot the point(no commands needed).

Thanks in advance!

PS: if somebody knows how to set cars to 1 for everyone if cars is zero (even the players that are not connected yet) that would be great because i can only set it for 1 player
Reply


Messages In This Thread
[HELP] Playertopoint execute withou doing anything! - by WThieves - 19.07.2010, 19:35
Re: [HELP] Playertopoint execute withou doing anything! - by bartje01 - 19.07.2010, 19:58
Re: [HELP] Playertopoint execute withou doing anything! - by Kar - 19.07.2010, 20:03
Re: [HELP] Playertopoint execute withou doing anything! - by WThieves - 19.07.2010, 20:19

Forum Jump:


Users browsing this thread: 1 Guest(s)