• Welcome to Vice City Multiplayer.
 

Help With ...

Started by Darkness, January 07, 2009, 08:21:51 AM

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

Darkness

Hello ,
I Need Help With Spawns... example:

Darkness Has Spawned At Police

Please Help Me =)

Amenine

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

Darkness


Amenine

No problem..and i am Amenine not Amenime ;)

Darkness


Daniel95

<@Foxtrot> halooo
<@Foxtrot> darfeh any cw's?
* Desert_Eagle is now known as darfeh
<@darfeh> idk