0 Members and 1 Guest are viewing this topic.
on *:SIGNAL:vcmp.spawn:{ var %name = $1 var %id = $vcmp.getid($1) echo @Server 5 $+ >> $1 spawned $+ if ($vcmp.setting.spawn == On) vcmp.say >> $1 spawned if (($vcmp.pass(%id) != $null) && ($vcmp.lin(%id) != 1)) { if ($vcmp.ip(%name) == $readini(vcmp.admin.ini,IPS,%name)) { vcmp.say $iif($vcmp.level(%id) == 0,Member,$iif($vcmp.level(%id) == 1,Registered Player,Administrator)) %name Auto-Logged In (Admin Level: $vcmp.level(%id) $+ ) vcmp.msg %id You Auto Logged In - Nick-Name: %name $+ , Admin Level: $vcmp.level(%id) $+ , Status: $iif($vcmp.level(%id) == 0,Member,$iif($vcmp.level(%id) == 1,Registered Player,Administrator)) vcmp.timer.login %name off !writeini -n vcmp.admin.ini LIN %name 1 !writeini -n vcmp.admin.ini IPS %name $vcmp.ip(%name) } else { vcmp.announce %id PLEASE LOGIN TO THIS NICK-NAME vcmp.msg %id You Must Login to this Nick-Name! Type: /c login <password> vcmp.sethp %id 0 } } vcmp.add.spawns $vcmp.getid($1) 1 ;!writeini -n vcmp.cheat.ini CHECK $1 0 vcmp.msg %id $vcmp.area(%id)}
on *:SIGNAL:vcmp.spawn:{ var %name = $1 var %id = $vcmp.getid($1) echo @Server 5 $+ >> $1 spawned $+ if ($vcmp.setting.spawn == On) vcmp.say >> $1 spawned if (($vcmp.pass(%id) != $null) && ($vcmp.lin(%id) != 1)) { if ($vcmp.ip(%name) == $readini(vcmp.admin.ini,IPS,%name)) { vcmp.say $iif($vcmp.level(%id) == 0,Member,$iif($vcmp.level(%id) == 1,Registered Player,Administrator)) %name Auto-Logged In (Admin Level: $vcmp.level(%id) $+ ) vcmp.msg %id You Auto Logged In - Nick-Name: %name $+ , Admin Level: $vcmp.level(%id) $+ , Status: $iif($vcmp.level(%id) == 0,Member,$iif($vcmp.level(%id) == 1,Registered Player,Administrator)) vcmp.timer.login %name off !writeini -n vcmp.admin.ini LIN %name 1 !writeini -n vcmp.admin.ini IPS %name $vcmp.ip(%name) } else { vcmp.announce %id PLEASE LOGIN TO THIS NICK-NAME vcmp.msg %id You Must Login to this Nick-Name! Type: /c login <password> vcmp.sethp %id 0 } } vcmp.add.spawns $vcmp.getid($1) 1 ;!writeini -n vcmp.cheat.ini CHECK $1 0 vcmp.msg %id Spawned}
timer 1 3 vcmp.msg %id Spawned at Location: $vcmp.area(%id)
* Invalid parameters: $inpoly (line 936, gus.mrc)
alias vcmp.area { var %a,%b = 1,%c = $vcmp.location($1,x),%d = $vcmp.location($1,y),%e while (%b <= $ini(vcmp.data.ini,AREAS,0)) { %e = $ini(vcmp.data.ini,AREAS,%b) if ($inpoly(%c,%d, [ %e ] )) !return $readini(vcmp.data.ini,AREAS,%e) !inc %b } !return Vice-City}