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.


Topics - Scripter

Pages: [1] 2
1
Support / WHY ???? VCMP
« on: November 13, 2011, 06:53:18 pm »
Why my screen laggs in vcmp why

i am not using any mods/huds

My pc specification

Processor : Cori 3

Ram : 2 GB DDR 3

Graphic Card : ATI 4670 1GB DDR 3


WINDOWS 7

I downloaded Vice city from torrent

Using VRockers Browser + vcmp0.3zr2  on windows 7

i have 1 mb net connection

my ping 170 + 270

i need better net connection or what ?

All plrs laggs in front of me

Edtit : i also tested my game on my own server and still my screen was lagging and i also unplugged my net and tested again in my own server still same results




2
mIRC/pawn Scripting / for pawn Help me.!
« on: May 14, 2011, 12:46:54 pm »
I am making IRC channel for my server but 2 problems
first i want to run my IRc channel with my server means when i turn on server irc channel need to turn on auto like in squirel and 2nd !say commands for irc plz help me
sorry for bad english!!!!

IRC channel for pawn

3
mIRC/pawn Scripting / Any way to fix it
« on: May 09, 2011, 10:37:38 am »
Are there is any way to fix the !getcar bug just like u guys fixed !flip command

4
mIRC/pawn Scripting / How!!!
« on: April 24, 2011, 01:03:12 pm »
How to hit password in server

Code: [Select]
config
maxplayers
port
hostname
rcon_password
rcon_max_users
rcon_port
gamemode0

5
mIRC/pawn Scripting / Help me guys!!!!!!!
« on: March 29, 2011, 11: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

6
mIRC/pawn Scripting / help me guys
« on: March 13, 2011, 11:39:27 am »
!Buycar cmd bug

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

7
mIRC/pawn Scripting / help
« on: January 31, 2011, 09: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

8
mIRC/pawn Scripting / help me for mirc
« on: January 20, 2011, 08: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

9
mIRC/pawn Scripting / Help me plz
« on: January 18, 2011, 10: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

10
mIRC/pawn Scripting / mute command for fbs are gups i need
« on: January 15, 2011, 11:19:16 am »
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

11
mIRC/pawn Scripting / admin hide command for fbs
« on: January 03, 2011, 03: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

12
mIRC/pawn Scripting / Invalid place ID plz help me for fbs. mirc
« on: December 23, 2010, 08:28:33 pm »
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

13
mIRC/pawn Scripting / still props invalid plz help me
« on: December 18, 2010, 12:49:46 pm »
!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
  }
}

14
mIRC/pawn Scripting / reset weapons for fbs
« on: December 17, 2010, 03: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

15
mIRC/pawn Scripting / props id invalid''''wtf!!!help plz
« on: December 14, 2010, 06: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

Pages: [1] 2