we've copy ur code, but when i spawn (im no admin) it doesnt work,
when i do !loc it says "Military Base (Escobar-International)" so the vcmp.data is not being parsed (not the correct line)
ive got this code:
if ($vcmp.area($vcmp.getid(%id)) == Army2) {
if ($vcmp.level(%id) >= 4)
else {
vcmp.announce %id ~o~Skin Locked ~w~, ~y~admins only
vcmp.sethp %id 0
}
}
and my data looks like this:
-1798.05,-41.9074,-1555.85,-41.9074,-1555.85,-315.199,-1798.05,-315.199=Military Base (Escobar-International)
-1188.1552,-912.0436,-1129.476,-912.0403,-1129.4817,-1060.5421,-1184.2206,-1060.5045=Car Parking Area Beside Airport (Escobar-International)
-1752.4955,-701.8268,-1751.308,-1750.4696,-1619.0697,-1551.9966,-1297.6647,-1362.8918,-1144.2311,-1089.6715,-1208.4805,-1067.1582,-1221.1451,-793.1848=Airport (Escobar-International)
-1755.1526,-702.5351,-1843.8418,-703.6538,-1831.9585,-1551.6007,-1756.7728,-1550.0182=Hangars (Escobar-International)
-1278.8226,-676.3752,-1278.826,-579.5288,-1365.5378,-580.944,-1370.525,-352.6061,-1816.2512,-352.6044,-1810.1021,-542.6508,-1534.6627,-547.2875,-1451.377,-676.9526=Airport (Escobar-International)
-136.403,1045.75,15.6971,1045.75,15.6971,852.042,-136.403,852.042=Film Studio (Prawn-Island)
95.583,996.9854,46.4554,1014.8056,13.6007,880.0429,84.7067,869.3102,100.5836,927.7742=Elbee Chemists Shop (Prawn-Island)
[b].....................lots of other locations..............[/b]
-1739.7670 -288.4472 29.7525 266.6987=army2
What can we do??