Welcome, Guest. Please login or register.
Did you miss your activation email?
September 05, 2010, 06:21:00 am
News:
Welcome to unofficial VC:MP forums!

Pages: [1]
Print
Author Topic: I need help with some script  (Read 211 times)
Mr.dox
Newbie
*
Posts: 1


View Profile
« on: June 23, 2010, 05:58:51 pm »

Hi , i need a script in mIRC ( gus 9.0 ) that tells you that you spawned a class. like when you spawn in downtown it tells u that u spawned a cop...

thank you Smiley
Logged
StriKe
Newbie
*
Posts: 1


View Profile
« Reply #1 on: June 28, 2010, 07:23:31 pm »

Gus 10
http://deathsquad-clan.com/vc-mp/Gus10.mrc
Gus 9
http://deathsquad-clan.com/vc-mp/gus9.0.zip
Logged
Windlord
Newbie
*
Posts: 19


Windlord.Net


View Profile WWW
« Reply #2 on: June 28, 2010, 07:26:04 pm »

I don't have time to write a script for you so I'll give you some tips.
Besides, it's best that you create your own way of detecting skins Tongue

1) Convert GUS 9.0 to make it work with the unofficial squirrel server.
There is a function you can use to retrieve player skins. Flawless!

2) Detecting a player's skin by checking which area the player spawns in.
When a player chooses a skin and spawns, they are sent to their spawn location.
There is a slight delay in this so your script need to check the player's location with a delay of about 1-2 seconds.
Area checking could be done by using inpoly or distance from spawn.

3) This is the best method I know so far and works quickly and flawlessly.
The script checks the weapon of the player as they spawn. If it matches a certain skin, it'll decide that the player is using that skin.
To use this method, you need to make sure that the skins have unique primary weapons.

There probably are other methods but these are all I know of.
Logged



Pages: [1]
Print
 
Jump to: