• 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 - Scripter

#1
mIRC/pawn Scripting / How!!!
April 24, 2011, 12:03:12 PM
How to hit password in server

config
maxplayers
port
hostname
rcon_password
rcon_max_users
rcon_port
gamemode0
#2
mIRC/pawn Scripting / Help me guys!!!!!!!
March 29, 2011, 10:02:12 AM
i am new in scripting so that's why i don't know so much

iam making !arena wepname
like in hunting arena i maked it but 1 problem
when player died he need to join auto bcz he didn't did !la

how to set in
public OnPlayerSpawn(playerid,classid,teamid)

how to set it auto that if player did !arena stubby and if he died in arena if he  respawn than he need to join auto bcz he didnt did !la
but if he did !la then not
plz
#3
mIRC/pawn Scripting / help me guys
March 13, 2011, 09:39:27 AM
!Buycar cmd bug

[code] else if (strcmp(cmd, "!buycar", true) == 0) {
    tmp = strtok(cmdtext, idx);
if(PlayerInfo[playerid][Logged] != 1) SendClientMessage(playerid, COLOR_RED, "You need to login first!");
else if(!strlen(tmp)) SendClientMessage(playerid,COLOR_GREEN, "USAGE: !buycar [VehicleID]");
else if(!IsVehicleForSale(tmp)) SendClientMessage(playerid,COLOR_GREEN, "Error: That vehicle is not for sale!");
else if(strcmp(GetPlayerLocation(playerid), "Sunshine-Autos-Viceport-Vice-City-Mainland", true) == 1) SendClientMessage(playerid,COLOR_GREEN, "Error: You have to be at the Sunshine Autos!");
else {
    new cost = GetVehicleCost(tmp);
    if(GetPlayerHandCash(gPlayers[playerid]) < cost) {
SendClientMessage(playerid,COLOR_GREEN, "Error: Not enought money!");
    return 1;
}
format(file, sizeof(file), "/Vehicles/owners.ini", "owners");
dini_Set(file, tmp, gPlayers[playerid]);
DecPlayerHandCash(playerid,cost);
format(szMsg,sizeof(szMsg),"Vehicle bought! Costed:[ $%d ]",cost);
SendClientMessage(playerid,COLOR_GREEN,szMsg);
}
return 1;
}
[/code]

when i do !buycar it just sold direct to player why it doesn't shows that u need to be at sunshine autos
can anyone help me who knows pawno
#4
mIRC/pawn Scripting / help
January 31, 2011, 07:34:41 AM
i want to make my own irc channel website so can anyone tell me how to make it and my channel need work on
irc.nl.project-apollo.co.uk plz help me for irc web channel
#5
mIRC/pawn Scripting / help me for mirc
January 20, 2011, 06:35:11 AM
can anyone give me link of fbs which fbs have props working i have fbs but on tha props are not working so can u give me link of fbs which have prop working thnx
#6
mIRC/pawn Scripting / Help me plz
January 18, 2011, 08:18:35 AM
guys how to run a clock in my server plz tell me for gups r fbs plz in fbs clock is not running and also in gups so can anyone tell me how to run clock in game
#7
Note: New Name Server -r2- ExTrEaM GaNgWaR SeRveR | »extream.smfnew.com«

INFO

   Server Name: ExTrEaM GaNgWaR SeRveR | »extream.smfnew.com«
   Server IP: find it in list
   Max Players: 27
   Server Mode: FBS modified by [MKt]Moric/moric
   Server Scripts: FBS v2.9 - By Moric, thanx to Tamas, and Force
   Server Forum: http://www.extream.smfnew.com
   Echo Channel: #extream
   Echo Server: irc.nl.project-apollo.co.uk
   GameMode Server: LastManStanding, Racing, Car Bomb, StrongBox Bank, Killing Spree system, Property System, Vehicle System,  Speedometer, Weapons,

Commands of Server

!lms = !join                          
!race start = !race join                                       Property System,
!arena name                                                                !buyprop
!heal                                                                           !sellprop
!fix                                                                           !gotomyhome
!hide   hides the player from radar                                  /c propspawn
!show shows player on radar
!gangwar                                                                          
!cash
!showcash
!hunt
!hunted
!spree
/c wepname
Vehicle System
!purchase
!buycar
!sellcar
!lock
!unlock
!killengine
!detonate
/c alarm
/c eject
/c lights

and many more commands
                                        FBS version 2.9 created by Moric
Thanx to [MKt]Moric
#8
can anyone give me mute command for gups r fbs  i have mute command in fbs but it is kicking player when they speak so thats why i need mute command who mute them and players chat cant appear in server

mute command just blocks chat
#9
mIRC/pawn Scripting / admin hide command for fbs
January 03, 2011, 01:02:35 PM
can anyone have hide command for admin who hide then from !admin for fbs i need it plz can anyone give me
i need it
#10
i fixed invalid prop id
But
now one more problem

when  i add prop then i go for to buy it and it says invalid place id  can anyone tell me how to fix invalid place ID of props plz ??? :'(  plz plz
#11
mIRC/pawn Scripting / still props invalid plz help me
December 18, 2010, 10:49:46 AM
!addprop but it shows props invalid still  and props cost 100 and name unknown ses this pic may be u can understand


see the command of !addprop are it is right

Quote}
  elseif ($3 == addprop) {
    if ($FBS.lin($1, $2) == $null) vcmp.msg $1 $2 You must either register or be logged in as Admin Level 10.
    elseif ($FBS.Level($1, $2) < 10) vcmp.msg $1 $2 Error, You need to be at least level 10 to use this command.
    elseif (!$4) vcmp.msg $1 $2 Error - Correct Syntax: ! $+ $3 <Cost> <Name>
    elseif (!$5) vcmp.msg $1 $2 Error - Correct Syntax: ! $+ $3 <Cost> <Name>
    elseif ($4 !isnum) vcmp.msg $1 $2 Error, Invalid Property Cost
    elseif (. isin $4) || (, isin $4) || (- isin $4) vcmp.msg $1 $2 Error, No negative or decimal Property Cost
    else {
      vcmp.msg $1 $2 Property Added, Price: $ $+ $4 $+ , Name: $5-
      !writeini -n FBS.PropCount.ini COUNT Count $calc($FBS.PropCount + 1)
      !writeini -n FBS.PropOwners.ini OWNERS $FBS.PropCount Vice City
      !writeini -n FBS.PropNames.ini NAMES $FBS.PropCount $5-
      !writeini -n FBS.PropCosts.ini COSTS $FBS.PropCount $4
      !writeini -n FBS.PropLocs.ini x $FBS.PropCount $vcmp.location($1, $2).x
      !writeini -n FBS.PropLocs.ini y $FBS.PropCount $vcmp.location($1, $2).y
      !writeini -n FBS.PropLocs.ini z $FBS.PropCount $vcmp.location($1, $2).z
      !writeini -n FBS.PropSpawn.ini LOCATION $FBS.PropCount $calc($vcmp.location($1, $2).x - 2) $calc($vcmp.location($1, $2).y + 2) $vcmp.location($1, $2).z
      vcmp.newpickup $1 407 $calc($vcmp.location($1, $2).x + 2) $vcmp.location($1, $2).y $vcmp.location($1, $2).z
      fbs.checkprops   
    }
  }


can some one fix it

Quote;------------ Property Aliases ---------------

alias FBS.PropCount !return $iif($readini(FBS.PropCount.ini,COUNT,Count),$v1,0)
alias FBS.PropPrice !return $iif($readini(FBS.PropCosts.ini,COSTS,$1),$v1,100)
alias FBS.PropOwner !return $iif($readini(FBS.PropOwners.ini,OWNERS,$1),$v1,Vice City)
alias FBS.PropShares !return $iif($readini(FBS.PropOwners.ini,SHARES,$1),$v1,None)
alias FBS.PropName !return $iif($readini(FBS.PropNames.ini,NAMES,$1),$v1,Unknown)
alias FBS.Mypropshares !return $iif($readini(FBS.MyProps.ini,SCOUNT,$vcmp.name(1, $2)),$v1,0)
alias FBS.PropLoc !return $iif($readini(FBS.PropLocs.ini,LOCATIONS,$1),$v1,Unknown)
alias FBS.IncMyProps !writeini -n FBS.MyProps.ini COUNT $vcmp.name(1, $2) $calc($FBS.MyProps(1, $2) + $iif($3,$v1,0))
alias FBS.DecMyProps !writeini -n FBS.MyProps.ini COUNT $vcmp.name(1, $2) $calc($FBS.MyProps(1, $2) - $iif($3,$v1,0))
alias FBS.MyProps !return $iif($readini(FBS.MyProps.ini,COUNT,$vcmp.name(1, $2)),$v1,0)
alias FBS.SpawnSetting !return $iif($readini(FBS.PropSpawn.ini,STATUS,$vcmp.name(1, $1)),$v1,0ff)
alias FBS.LoadProps {
  var %a = 1
  set %propcount 0

  while (%a <= 100) {
    if (%a <= $FBS.PropCount) {
      vcmp.newpickup $1 407 $readini(FBS.PropLocs.ini,x,%a) $readini(FBS.PropLocs.ini,y,%a) $readini(FBS.PropLocs.ini,z,%a)
      !inc %propcount
    }
    !inc %a
  }
  timer.checkproperties 1 8 fbs.checkcount
}
alias FBS.getmysharedprops {
  var %a = 1
  while (%a <= %propcount) {
    if ($readini(FBS.PropOwners.ini,SHARES,%a) == $vcmp.name($1, $2)) var %b = %b $readini(FBS.PropNames.ini,NAMES,%a) $+ , ID: %a -
    !inc %a
  }
  !return %b
}
alias FBS.CheckCount {
  if (%propcount == $fbs.propcount) {
    FBS.Echo 7 $+ $chr(91) %propcount $+ / $+ $fbs.propcount $chr(93) Properties Loaded Succesfully
  }
  else FBS.Echo 7Error loading Properties $chr(91) %propcount $+ / $+ $FBS.PropCount $chr(93)
}
alias FBS.PropInfo {
  var %a = 1
  while (%a <= 100) {
    if (%a == $1) {
      if ($FBS.PropOwner($1) == Vice City) {
        vcmp.msg 1 $2 Property Name:[ $FBS.PropName($1) $chr(93) ID:[ $1 $chr(93) Owner:[ Vice City $chr(93) Cost:[ $ $+ $FBS.PropPrice($1) $chr(93)
        vcmp.msg 1 $2 Type !buyprop $1 to buy this property
      }
      elseif ($FBS.PropOwner($1) != Vice City) && ($FBS.PropShares($1) != None) {
        vcmp.msg 1 $2 Property Name:[ $FBS.PropName($1) $chr(93) ID:[ $1 $chr(93) Owner:[ $FBS.PropOwner($1) $chr(93) Share:[ $FBS.PropShares($1) $chr(93) Selling Price:[ $ $+ $calc($FBS.PropPrice($1) / 2) $chr(93)     
      }
      elseif ($FBS.PropOwner($1) != Vice City) && ($FBS.PropShares($1) == None) {
        vcmp.msg 1 $2 Property Name:[ $FBS.PropName($1) $chr(93) ID:[ $1 $chr(93) Owner:[ $FBS.PropOwner($1) $chr(93) Selling Price:[ $ $+ $calc($FBS.PropPrice($1) / 2) $chr(93)     
      }
      else vcmp.msg $1 $2 Error, No information can be found for this property
    }
    !inc %a
  }
}
#12
mIRC/pawn Scripting / reset weapons for fbs
December 17, 2010, 01:01:16 PM
can any one tell me  reset weapons an giveplayer wepon auto when we join !lms just like  gups in !fight
like this
ResetPlayerWeapons(playerid);
GivePlayerWeapon(playerid, 26, 700);
this is for gups but i want this for FBs.mirc
#13
mIRC/pawn Scripting / props id invalid''''wtf!!!help plz
December 14, 2010, 04:00:10 PM
I managed to make my own server
I use FBS 2.0 scripts but i have a problem
Whenever i want to buy a prop it says error: invalid ID. All my props cost 100$ and it says ID is invalid
Please help me with this problem
#14
mIRC/pawn Scripting / can any one tell me
December 04, 2010, 02:36:38 PM
can any one know how to run sansan v3 or gus 9.0 in vcmp 0.3zr2
#15
Quotecan some one help mt to fix this lms script for mirc when i do !lms it says lms is alerady in progress and when i do !join it says taking u too in lms but nothing happens here is code

}
 elseif ($3 == lms) {
   if (%lms == on) vcmp.say $1 ** LastManStanding already in progress!
   else {
     set %lms on
     timer 1 1 vcmp.say $1 ** LastManStanding has started! Type !join within 20 seconds.
     timer 1 20 set %lms off
   }
     }
 elseif ($3 == join) {
   if (%lms == on) vcmp.say $1 ** $vcmp.name($1, $2) has joined LastManStanding!
   else {
   vcmp.setlocation $1 $2 -754.187866 -1602.638916 23.734970
   vcmp.setarmour $1 $vcmp.name($1, $2) 100
   vcmp.sethealth $1 $vcmp.name($1, $2) 100
   vcmp.msg $1 $2 Taking you to LastManStanding. Enjoy!
     timer 1 1 vcmp.setcontrols $1 $vcmp.name($1, $2) 0
     timer 1 2 vcmp.say $1 LastManStanding starting in:
     timer 1 5 vcmp.say $1 ---- 1 ----
     timer 1 6 vcmp.say $1 ---- 2 ----
     timer 1 7 vcmp.say $1 ---- 3 ----
     timer 1 8 vcmp.say $1 ---- GO! ----
     timer 1 8 vcmp.setcontrols $1 $vcmp.name($1, $2) 1
     }
   else {
         if (%lms == off) {
   vcmp.say $1 ** LastManStanding is not active!
     }    
   }