16
Support / Re: R2 bug?
« on: January 05, 2010, 12:45:27 pm »
Sniper warp bug was known about and was created by us.. it far from easy to fix considering gtavc was never meant to have players in fp aim while a player is created.
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.
!hmake -s area 2000
if ($exists(vcmp.area.txt)) { !hload area vcmp.area.txt }
var %a = 1
while ($hget(area,%a) != $null) {
!inc %a
}
set %max_loc %a
alias vcmp.area {
var %a = 1,%b = $hget(vcmp,pos.x. $+ $1),%c = $hget(vcmp,pos.y. $+ $1),%d
while (%a < %max_loc) {
%d = $hget(area,%a)
if ($inpoly(%b,%c, [ %d ] )) !return $hget(area,%a $+ .)
!inc %a
}
alias convert {
!hmake -s area 2000
var %a,%b = 1,%c
%a = AREA2
while (%b <= $ini(vcmp.data.ini,%a,0)) {
%c = $ini(vcmp.data.ini,%a,%b)
!hadd area %b %c
!hadd area %b $+ . $readini(vcmp.data.ini,%a,%c)
!inc %b
}
!hsave area vcmp.area.txt
}
; $1 playerid
; $2 pickupid
; $3 picktype
on *:SIGNAL:vcmp.pickup:{
if ($3 == 382) {
; player has got check point
; now respawn for next person
vcmp.command spawn spawnpickup $2
; set position at checkpoint
%pos = $calc(%pos + 1)
vcmp.command adminsay bah is in %pos position
}
}
WOW just what i needed thank you falcon!
just a quick questionQuoteset 16 <marker> <pos.x> <pos.y> <pos.z> (set icon and posation)
set 18 <carid> (kils car engine)
is there a set 17? and if so what is it?
Thanks again
-AdTec_224