19.07.2010, 19:35
Hello there i have this, and i need your help with it:
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
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
}
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