Vice City Multiplayer
VC:MP 0.3 => mIRC/pawn Scripting => Topic started by: Tamas on August 10, 2008, 03:54:36 am
-
I writed a little script to auto drown a player who kill at Sunshine but its not work:
Code:
}
if (Sunshine-Autos-Viceport-Vice-City-Mainland !isin $vcmp.playerarea(%id)) {
vcmp.adminchat Admin auto drowned player: $+ $chr(91) %id $chr(93) Reason: $+ $chr(91) Killing at Sunshine-Autos $chr(93)
vcmp.setloc %id -761.1595 -340.6097 9.9061
I puted that under vcmp.event.kill but its didnt do anything when somebody kill there.
Any idea?
-
Replace %id with %idk.
I think that should work, i dont have a copy of sansan on this computer, but I think that should work.
-
Also you are telling it to drown them if they ARE NOT in sunshine auto's.
if (Sunshine-Autos-Viceport-Vice-City-Mainland !isin $vcmp.playerarea(%id))
Needs to be:
if (Sunshine-Autos isin $vcmp.playerarea(%idk))
-
Oh yea I didn't notice that XD ::)
-
Ohh thanks!
Its finally works fine ;)