• Welcome to Vice City Multiplayer.
 
Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Topics - Tonys

#1
Script Showroom / Skin System - [FBS Add-On]
March 11, 2010, 07:30:01 PM
It's easy as hell to add in more if you have some common sense.


So firstly you want to add this - at on *:SIGNAL:vcmp.player.spawn:{ -
timer 1 1 FBS.Skins $1 $2

Once you have done this just paste in this alias -
alias FBS.Skins {
 if (Cop Skin isin $FBS.Buildings($1, $2)) {
   vcmp.msg $1 $2 You are now a Cop.
   hadd -m vcmp.skins $vcmp.name($1, $2) Cop
 }
}


So of course you will need the coordinates for the FBS.Buildings.ini file so here they are -
393.1723,-474.4701,396.0532,-476.448,393.5086,-479.812,390.7947,-477.5717=Cop Skin

Finally here is the !skin command -
 elseif ($3 == skin) {
   if (!$4) {
     vcmp.say $1 ** $vcmp.name($1, $2) is currently using the $hget(vcmp.skins,$vcmp.name($1, $2)) skin.
   }
   elseif ($4) {
     if ($vcmp.name($1, $FBS.ID($4)) == Unknown) vcmp.msg $1 $2 Invalid Nick-Name
     else {
       vcmp.say $1 ** $vcmp.name($1, $FBS.ID($4)) is currently using the $hget(vcmp.skins,$vcmp.name($1, $FBS.ID($4))) skin.
     }
   }
 }


If you want to see how to use the Skin system to greater use like maybe in a Cops & Robbers thing I might post that.

#2
Support / Constantly Timing Out
February 25, 2010, 02:53:51 PM
I've had this problem for a while now and to be honest I think it's cause am using a Wireless connection but I can play VC:MP fine on the laptop.  I can join a server then a few mins later i'll time out for some reason.. I just want to know if anyone had a similar problem and can help me fix mine.
#3
mIRC/pawn Scripting / Question
January 15, 2010, 06:23:26 AM
Ok so uh how do you create commands in pawn using /c !commandhere and not just !commandhere.
#4
I'm getting this error when compiling my anti-minigun FS.

C:\Users\eee\Desktop\VCMP [PAWN]\filterscripts\antiminigun.pwn(18) : warning 202: number of arguments does not match definition
C:\Users\eee\Desktop\VCMP [PAWN]\filterscripts\antiminigun.pwn(18) : warning 202: number of arguments does not match definition


Here is the line that it's refering too -

weaponchecktimer = SetTimer("WeaponCheckTimer", 5000, 1,"i",i);

Rest of the OnFilterScriptInit -
public OnFilterScriptInit()
{
print("| ****** Anti-Minigun ******|");
print("| *** Created By:  Tonys ***|");
print("|***************************|");
       for(new i; i<MAX_PLAYERS; i++)
{
weaponchecktimer = SetTimer("WeaponCheckTimer", 5000, 1,"i",i);
return 1;
}
return 1;
}


Any help greatly appreciated.
First time using pawn..
#5
Support / Pickup's
October 01, 2007, 05:40:07 PM
Is it possible to add in weapon and Health pickups in Build Mode? if not is there any other way.