This topic has been moved to Script Showroom.
http://forum.vicecitymultiplayer.com/index.php?topic=460.0
http://forum.vicecitymultiplayer.com/index.php?topic=460.0
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Show posts Menu
alias convertlocationsfrominfozontohash {
var %infozonfile = info.zon, %i = 1, %c = 0
if ($hget(infozontemp)) !hfree -s infozontemp
!hmake -s infozontemp 500
while (%i < $lines(%infozonfile)) {
tokenize 32 $read(%infozonfile,%i)
if ($7) {
!inc %c
!hadd infozontemp %c $+($3,$7,$6,$7,$6,$4,$3,$left($4,-1))
!hadd infozontemp %c $+ . $left($1,-1)
}
!inc %i
}
!hadd infozontemp max_loc %c
!hsave infozontemp lcmp.area.hash
!hfree -s infozontemp
}
!hmake -s area 500
if ($exists(lcmp.area.hash)) !hload area lcmp.area.hash
alias lcmp.area {
if (($1) && ($2)) {
var %a = 1
while (%a <= $hget(area,max_loc)) {
var %t = $hget(area,%a)
if ((%t) && ($inpoly($1,$2, [ %t ] ))) !return $hget(area,%a $+ .)
!inc %a
}
}
!return Liberty City
}