no cars in here!
#5

Quote:
Originally Posted by [ABK]Antonio
Посмотреть сообщение
pawn Код:
CMD:car(playerid, params[])
{
    if(IsPlayerInRangeOfPoint(playerid, Float:range, Float:x, Float:y, Float:z)) return 0; //means the command stops here (gives UNKNOWN COMMAND)
}
The range would be how close to those coords do you want to check. So, everyone inside of the range you specify won't be able to spawn a car.
Where in my script do I place this code? and i'm using regular /command. like for esxample: /teleports
Reply


Messages In This Thread
no cars in here! - by RiChArD_A - 19.01.2013, 17:31
Re: no cars in here! - by Mr.Anonymous - 19.01.2013, 17:41
Respuesta: Re: no cars in here! - by RiChArD_A - 19.01.2013, 17:42
Re: no cars in here! - by [ABK]Antonio - 19.01.2013, 17:45
Respuesta: Re: no cars in here! - by RiChArD_A - 19.01.2013, 17:56
Re: no cars in here! - by Mr.Anonymous - 19.01.2013, 18:25
Respuesta: Re: no cars in here! - by RiChArD_A - 19.01.2013, 18:44
Re: Respuesta: Re: no cars in here! - by CodyCummings - 19.01.2013, 19:23
Respuesta: Re: Respuesta: Re: no cars in here! - by RiChArD_A - 19.01.2013, 19:32
Re: no cars in here! - by CodyCummings - 19.01.2013, 19:47

Forum Jump:


Users browsing this thread: 1 Guest(s)