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