tag mismatch - Zones
#7

Quote:
Originally Posted by Stefand
Посмотреть сообщение
Let me try
Sure. I tested it before posting it and it printed the correct zone. It'd be good if you also check about the vehicle whether or not is valid.

pawn Код:
native IsValidVehicle(vehicleid);
Add it under #define and in the GetVehicleZone function at the top (before declaration) add:
pawn Код:
if (!IsValidVehicle(vehicleid)) return -1;
If the vehicle does not exist, then there isn't a reason to loop and search for a zone.

Quote:
Originally Posted by SwisherSweet
Посмотреть сообщение
pawn Код:
{"Whetstone"                   {-2997.40,-2892.90,-242.90,-1213.90,-1115.50,900.00}}
};
What?
Reply


Messages In This Thread
tag mismatch - Zones - by Stefand - 31.01.2014, 18:35
Re: tag mismatch - Zones - by Stefand - 01.02.2014, 15:22
Re: tag mismatch - Zones - by Sawalha - 01.02.2014, 16:48
Re: tag mismatch - Zones - by Konstantinos - 01.02.2014, 17:16
Re: tag mismatch - Zones - by Stefand - 01.02.2014, 18:52
Re: tag mismatch - Zones - by SwisherSweet - 01.02.2014, 18:56
Re: tag mismatch - Zones - by Konstantinos - 01.02.2014, 19:03
Re: tag mismatch - Zones - by Stefand - 01.02.2014, 19:15

Forum Jump:


Users browsing this thread: 2 Guest(s)