Vice City Multiplayer
VC:MP 0.3 => mIRC/pawn Scripting => Topic started by: Darkness on January 07, 2009, 11:21:51 am
-
Hello ,
I Need Help With Spawns... example:
Darkness Has Spawned At Police
Please Help Me =)
-
Here..by [XE]Tommis..
alias vcmp.before.findskin {
;$1 == ID
;$2 == NAME
timer -m 1 1000 vcmp.findskin $1-
}
alias vcmp.findskin {
;$1 == ID
;$2 == NAME
if (Biker1 isin $vcmp.area($1)) {
!writeini -n vcmp.skin.ini SKINS $1 Biker-Boy
vcmp.msg $1 You spawned as a Biker-Boy.
}
elseif (Biker2 isin $vcmp.area($1)) {
!writeini -n vcmp.skin.ini SKINS $1 Biker-Buddy
vcmp.msg $1 You spawned as a Biker-Buddy.
}
elseif (Biker isin $vcmp.area($1)) {
!writeini -n vcmp.skin.ini SKINS $1 Biker
vcmp.msg $1 You spawned as a Biker.
}
}
Althouh u can chnage the locations and skin names..as these are written by me..for testing..
on *:SIGNAL:vcmp.spawn:{
var %name = $1
var %id = $vcmp.getid($1)
timer -m 1 500 vcmp.before.findskin %id %name
}
Regards
Amenine
-
:) Thx Amenime
-
No problem..and i am Amenine not Amenime ;)
-
:O sorry :(
-
No problem..and i am Amenine not Amenime ;)
LOL :D.