Author Topic: Help With ...  (Read 3934 times)

0 Members and 1 Guest are viewing this topic.

Offline Darkness

  • Wiseguy
  • **
  • Posts: 53
    • View Profile
Help With ...
« on: January 07, 2009, 11:21:51 am »
Hello ,
I Need Help With Spawns... example:

Darkness Has Spawned At Police

Please Help Me =)

Offline Amenine

  • Street Thug
  • *
  • Posts: 47
  • [UCG]Clan Leader -Scripter/Fighter/XE MoD-
    • View Profile
    • UCG
Re: Help With ...
« Reply #1 on: January 09, 2009, 02:37:12 pm »
Here..by [XE]Tommis..

Code: [Select]
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..

Code: [Select]
on *:SIGNAL:vcmp.spawn:{
  var %name = $1
  var %id = $vcmp.getid($1)

  timer -m 1 500 vcmp.before.findskin %id %name
}

Regards

Amenine

Offline Darkness

  • Wiseguy
  • **
  • Posts: 53
    • View Profile
Re: Help With ...
« Reply #2 on: January 09, 2009, 03:04:19 pm »
:) Thx Amenime 

Offline Amenine

  • Street Thug
  • *
  • Posts: 47
  • [UCG]Clan Leader -Scripter/Fighter/XE MoD-
    • View Profile
    • UCG
Re: Help With ...
« Reply #3 on: January 09, 2009, 09:18:04 pm »
No problem..and i am Amenine not Amenime ;)

Offline Darkness

  • Wiseguy
  • **
  • Posts: 53
    • View Profile
Re: Help With ...
« Reply #4 on: January 09, 2009, 11:14:49 pm »
:O sorry   :(

Offline Daniel95

  • Made Man
  • ***
  • Posts: 120
  • NOU!!!!
    • View Profile
Re: Help With ...
« Reply #5 on: January 15, 2009, 01:38:49 pm »
No problem..and i am Amenine not Amenime ;)

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