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.


Messages - nikobg

Pages: [1]
1
mIRC/pawn Scripting / Re: Armour Command Help
« on: December 16, 2012, 04:26:39 pm »
dafuq did i just read...anyways i give up.I'll just make it SetPlayerArmour ( playerid, 100 )
end of story (i dont understand sh*t)

2
mIRC/pawn Scripting / Re: Armour Command Help
« on: December 16, 2012, 02:52:01 pm »
but can you atleast tell me how to make it work?

3
mIRC/pawn Scripting / Armour Command Help
« on: December 16, 2012, 02:13:09 pm »
I am new to pawn scripting and i am currently trying to make an armour command...
[pawn]   else if ( strcmp( cmd, "!protect", true ) == 0 )
   {
      if ( !IsLoggedIn( playerid ) ) SendClientMessage( playerid, COLOR_RED, "Please log-in to your account." );
      new Float:armour; GetPlayerArmour(playerid,armour);
      if ( armour >= 100 ) SendClientMessage( playerid, COLOR_GREEN, "> Error: you have armor 100%." );
      else
      {
            if(CheckMoney(playerid, 500);
          {
             SetPlayerArmour(playerid, 100);
             DecPlayerHandCash(playerid, 500);
             SendClientMessage( playerid, COLOR_GREEN, "Your armor is now at 100%." );
      }
      return 1;
      
      }[/pawn]
but i am doing something wrong because I can't compile because of it.And i have no idea what i am doing wrong.
here are the 26 errors
Quote
C:\Users\niko\Desktop\gamemode\Niko.pwn(212) : error 017: undefined symbol "CompariseIp"
C:\Users\niko\Desktop\gamemode\Niko.pwn(230) : error 017: undefined symbol "StatusTag"
C:\Users\niko\Desktop\gamemode\Niko.pwn(400) : error 017: undefined symbol "DecPlayerHandCash"
C:\Users\niko\Desktop\gamemode\Niko.pwn(401) : error 017: undefined symbol "IncPlayerDeaths"
C:\Users\niko\Desktop\gamemode\Niko.pwn(417) : error 017: undefined symbol "IncPlayerHandCash"
C:\Users\niko\Desktop\gamemode\Niko.pwn(418) : error 017: undefined symbol "IncPlayerKills"
C:\Users\niko\Desktop\gamemode\Niko.pwn(422) : error 017: undefined symbol "DecPlayerHandCash"
C:\Users\niko\Desktop\gamemode\Niko.pwn(423) : error 017: undefined symbol "IncPlayerDeaths"
C:\Users\niko\Desktop\gamemode\Niko.pwn(541) : error 017: undefined symbol "LoadSkins"
C:\Users\niko\Desktop\gamemode\Niko.pwn(542) : error 017: undefined symbol "LoadSpawnCharacters"
C:\Users\niko\Desktop\gamemode\Niko.pwn(543) : error 017: undefined symbol "LoadVehicles"
C:\Users\niko\Desktop\gamemode\Niko.pwn(544) : error 017: undefined symbol "LoadPickups"
C:\Users\niko\Desktop\gamemode\Niko.pwn(545) : error 017: undefined symbol "SetServerConfiguration"
C:\Users\niko\Desktop\gamemode\Niko.pwn(563) : error 017: undefined symbol "InitWepList"
C:\Users\niko\Desktop\gamemode\Niko.pwn(595) : error 017: undefined symbol "IsLoggedIn"
C:\Users\niko\Desktop\gamemode\Niko.pwn(603) : error 017: undefined symbol "encrypt"
C:\Users\niko\Desktop\gamemode\Niko.pwn(631) : error 017: undefined symbol "IsRegistered"
C:\Users\niko\Desktop\gamemode\Niko.pwn(632) : error 017: undefined symbol "IsLoggedIn"
C:\Users\niko\Desktop\gamemode\Niko.pwn(637) : error 017: undefined symbol "encrypt"
C:\Users\niko\Desktop\gamemode\Niko.pwn(655) : error 017: undefined symbol "UpDateFile"
C:\Users\niko\Desktop\gamemode\Niko.pwn(656) : error 017: undefined symbol "UpDateFile"
C:\Users\niko\Desktop\gamemode\Niko.pwn(661) : error 017: undefined symbol "StatusTag"
C:\Users\niko\Desktop\gamemode\Niko.pwn(694) : error 017: undefined symbol "UpDateFile"
C:\Users\niko\Desktop\gamemode\Niko.pwn(712) : error 017: undefined symbol "FindPlayerIDFromString"
C:\Users\niko\Desktop\gamemode\Niko.pwn(714) : error 017: undefined symbol "IsLoggedIn"
C:\Users\niko\Desktop\gamemode\Niko.pwn(715) : error 017: undefined symbol "IsAuthorized"

Compilation aborted.Pawn compiler 3.0.3367         Copyright (c) 1997-2005, ITB CompuPhase


26 Errors.
i also want to make it to decrease a player's hand cash by 500$ and if he doesnt have enough money to tell him "You don't have 500$"
i would appreciate if someone gives me a vcmp pawn wiki

5
mIRC/pawn Scripting / I can't compile
« on: December 08, 2012, 12:50:26 pm »
I can't even compile gups...I can't compile anything.It just gives me only errors.Please help...i think its something in the "include" folder.If someone can upload their include folder maybe that will fix it.
[pawn]C:\Users\niko\Desktop\pawno vc-mp\include\dutils.inc(199) : error 021: symbol already defined: "SetPlayerMoney"
C:\Users\niko\Desktop\test\GUPS1.16.pwn(100) : warning 235: public function lacks forward declaration (symbol "OnFilterScriptInit")
C:\Users\niko\Desktop\test\GUPS1.16.pwn(105) : warning 235: public function lacks forward declaration (symbol "OnPlayerVersion")
C:\Users\niko\Desktop\test\GUPS1.16.pwn(111) : warning 235: public function lacks forward declaration (symbol "OnPlayerConnect")
C:\Users\niko\Desktop\test\GUPS1.16.pwn(135) : error 047: array sizes do not match, or destination array is too small
C:\Users\niko\Desktop\test\GUPS1.16.pwn(178) : warning 235: public function lacks forward declaration (symbol "OnPlayerDisconnect")
C:\Users\niko\Desktop\test\GUPS1.16.pwn(193) : warning 235: public function lacks forward declaration (symbol "OnPickedUp")
C:\Users\niko\Desktop\test\GUPS1.16.pwn(216) : warning 235: public function lacks forward declaration (symbol "OnPlayerSpawn")
C:\Users\niko\Desktop\test\GUPS1.16.pwn(240) : warning 235: public function lacks forward declaration (symbol "OnPlayerDeath")
C:\Users\niko\Desktop\test\GUPS1.16.pwn(306) : warning 235: public function lacks forward declaration (symbol "OnPlayerRequestClass")
C:\Users\niko\Desktop\test\GUPS1.16.pwn(315) : warning 235: public function lacks forward declaration (symbol "OnGameModeInit")
C:\Users\niko\Desktop\test\GUPS1.16.pwn(351) : warning 217: loose indentation
C:\Users\niko\Desktop\test\GUPS1.16.pwn(353) : warning 217: loose indentation
C:\Users\niko\Desktop\test\GUPS1.16.pwn(358) : warning 235: public function lacks forward declaration (symbol "OnPlayerCommandText")
C:\Users\niko\Desktop\test\GUPS1.16.pwn(362) : error 047: array sizes do not match, or destination array is too small
C:\Users\niko\Desktop\test\GUPS1.16.pwn(366) : error 047: array sizes do not match, or destination array is too small
C:\Users\niko\Desktop\test\GUPS1.16.pwn(367) : warning 217: loose indentation
C:\Users\niko\Desktop\test\GUPS1.16.pwn(372) : warning 217: loose indentation
C:\Users\niko\Desktop\test\GUPS1.16.pwn(373) : warning 217: loose indentation
C:\Users\niko\Desktop\test\GUPS1.16.pwn(392) : warning 217: loose indentation
C:\Users\niko\Desktop\test\GUPS1.16.pwn(396) : error 047: array sizes do not match, or destination array is too small
C:\Users\niko\Desktop\test\GUPS1.16.pwn(397) : warning 217: loose indentation
C:\Users\niko\Desktop\test\GUPS1.16.pwn(407) : warning 217: loose indentation
C:\Users\niko\Desktop\test\GUPS1.16.pwn(457) : warning 217: loose indentation
C:\Users\niko\Desktop\test\GUPS1.16.pwn(462) : error 047: array sizes do not match, or destination array is too small
C:\Users\niko\Desktop\test\GUPS1.16.pwn(462) : error 047: array sizes do not match, or destination array is too small
C:\Users\niko\Desktop\test\GUPS1.16.pwn(478) : error 047: array sizes do not match, or destination array is too small
C:\Users\niko\Desktop\test\GUPS1.16.pwn(489) : error 047: array sizes do not match, or destination array is too small
C:\Users\niko\Desktop\test\GUPS1.16.pwn(493) : error 047: array sizes do not match, or destination array is too small
C:\Users\niko\Desktop\test\GUPS1.16.pwn(516) : error 047: array sizes do not match, or destination array is too small
C:\Users\niko\Desktop\test\GUPS1.16.pwn(520) : error 047: array sizes do not match, or destination array is too small
C:\Users\niko\Desktop\test\GUPS1.16.pwn(535) : error 047: array sizes do not match, or destination array is too small
C:\Users\niko\Desktop\test\GUPS1.16.pwn(535) : error 047: array sizes do not match, or destination array is too small
C:\Users\niko\Desktop\test\GUPS1.16.pwn(560) : error 047: array sizes do not match, or destination array is too small
C:\Users\niko\Desktop\test\GUPS1.16.pwn(579) : error 047: array sizes do not match, or destination array is too small
C:\Users\niko\Desktop\test\GUPS1.16.pwn(589) : warning 217: loose indentation
C:\Users\niko\Desktop\test\GUPS1.16.pwn(592) : warning 217: loose indentation
C:\Users\niko\Desktop\test\GUPS1.16.pwn(596) : warning 217: loose indentation
C:\Users\niko\Desktop\test\GUPS1.16.pwn(603) : error 047: array sizes do not match, or destination array is too small
C:\Users\niko\Desktop\test\GUPS1.16.pwn(603) : error 047: array sizes do not match, or destination array is too small
C:\Users\niko\Desktop\test\GUPS1.16.pwn(619) : error 047: array sizes do not match, or destination array is too small
C:\Users\niko\Desktop\test\GUPS1.16.pwn(619) : error 047: array sizes do not match, or destination array is too small
C:\Users\niko\Desktop\test\GUPS1.16.pwn(635) : error 047: array sizes do not match, or destination array is too small
C:\Users\niko\Desktop\test\GUPS1.16.pwn(635) : error 047: array sizes do not match, or destination array is too small
C:\Users\niko\Desktop\test\GUPS1.16.pwn(651) : error 047: array sizes do not match, or destination array is too small
C:\Users\niko\Desktop\test\GUPS1.16.pwn(667) : error 047: array sizes do not match, or destination array is too small
C:\Users\niko\Desktop\test\GUPS1.16.pwn(667) : error 047: array sizes do not match, or destination array is too small
C:\Users\niko\Desktop\test\GUPS1.16.pwn(683) : error 047: array sizes do not match, or destination array is too small

Compilation aborted.Pawn compiler 3.2.3664           Copyright (c) 1997-2006, ITB CompuPhase


26 Errors.
[/pawn]

6
mIRC/pawn Scripting / Pawn Program Problem
« on: December 07, 2012, 09:59:29 pm »
Can someone upload their Pawn software with all the include files in it.Or give me a link to the program they are using that will work in vcmp.

7
mIRC/pawn Scripting / Re: Compile Problem
« on: December 07, 2012, 08:23:16 pm »
Simple check the script  and find all returns if got
[pawn]}
return 1
}
}[/pawn]
Delete one }
Another problem is if one command not have } example
 }
return 1
else if "bla bla bla"

And you have 2 public setplayermoney delete one

i have setplayermoney all over my script...and my script is big

8
mIRC/pawn Scripting / Compile Problem
« on: December 07, 2012, 07:48:38 pm »
I tried to compile my script to .amx when suddenly....
Quote
C:\Users\niko\Desktop\VCMP - Pawno\include\dutils.inc(199) : error 021: symbol already defined: "SetPlayerMoney"
D:\igri\vc\SERVERs\gamemodes\Niko.pwn(208) : error 047: array sizes do not match, or destination array is too small
D:\igri\vc\SERVERs\gamemodes\Niko.pwn(570) : error 047: array sizes do not match, or destination array is too small
D:\igri\vc\SERVERs\gamemodes\Niko.pwn(574) : error 047: array sizes do not match, or destination array is too small
D:\igri\vc\SERVERs\gamemodes\Niko.pwn(608) : error 047: array sizes do not match, or destination array is too small
D:\igri\vc\SERVERs\gamemodes\Niko.pwn(689) : error 047: array sizes do not match, or destination array is too small
D:\igri\vc\SERVERs\gamemodes\Niko.pwn(689) : error 047: array sizes do not match, or destination array is too small
D:\igri\vc\SERVERs\gamemodes\Niko.pwn(705) : error 047: array sizes do not match, or destination array is too small
D:\igri\vc\SERVERs\gamemodes\Niko.pwn(716) : error 047: array sizes do not match, or destination array is too small
D:\igri\vc\SERVERs\gamemodes\Niko.pwn(720) : error 047: array sizes do not match, or destination array is too small
D:\igri\vc\SERVERs\gamemodes\Niko.pwn(743) : error 047: array sizes do not match, or destination array is too small
D:\igri\vc\SERVERs\gamemodes\Niko.pwn(747) : error 047: array sizes do not match, or destination array is too small
D:\igri\vc\SERVERs\gamemodes\Niko.pwn(762) : error 047: array sizes do not match, or destination array is too small
D:\igri\vc\SERVERs\gamemodes\Niko.pwn(762) : error 047: array sizes do not match, or destination array is too small
D:\igri\vc\SERVERs\gamemodes\Niko.pwn(811) : error 047: array sizes do not match, or destination array is too small
D:\igri\vc\SERVERs\gamemodes\Niko.pwn(856) : error 047: array sizes do not match, or destination array is too small
D:\igri\vc\SERVERs\gamemodes\Niko.pwn(908) : error 047: array sizes do not match, or destination array is too small
D:\igri\vc\SERVERs\gamemodes\Niko.pwn(927) : error 047: array sizes do not match, or destination array is too small
D:\igri\vc\SERVERs\gamemodes\Niko.pwn(951) : error 047: array sizes do not match, or destination array is too small
D:\igri\vc\SERVERs\gamemodes\Niko.pwn(951) : error 047: array sizes do not match, or destination array is too small
D:\igri\vc\SERVERs\gamemodes\Niko.pwn(968) : error 047: array sizes do not match, or destination array is too small
D:\igri\vc\SERVERs\gamemodes\Niko.pwn(996) : error 047: array sizes do not match, or destination array is too small
D:\igri\vc\SERVERs\gamemodes\Niko.pwn(1018) : error 047: array sizes do not match, or destination array is too small
D:\igri\vc\SERVERs\gamemodes\Niko.pwn(1018) : error 047: array sizes do not match, or destination array is too small
D:\igri\vc\SERVERs\gamemodes\Niko.pwn(1034) : error 047: array sizes do not match, or destination array is too small
D:\igri\vc\SERVERs\gamemodes\Niko.pwn(1034) : error 047: array sizes do not match, or destination array is too small

Compilation aborted.Pawn compiler 3.0.3367         Copyright (c) 1997-2005, ITB CompuPhase


26 Errors.

9
Support / How To Make A VCMP Server
« on: December 01, 2012, 08:43:12 pm »
Ok,I am really angry.I hope im posting in the right place.Anyways I've been trying to make a vcmp server for a hour or more but nothing works.I installed GUPS and I can actually join my server,but its not listed in the server browser.What I want you to tell me is WHICH ports do I open (I know how to port forward so don't bother posting links about it) but I want to know the ports I have to port.Here is my server config:
echo Executing Server Config...
friendlyfire 1
lanmode 0
maxplayers 16
port 5192
hostname Niko's Server
gamemode0 GUPS1.16 1
rcon_password (CENSORED)
rcon_port 8190
rcon_max_users 5
I want to know what I am doing wrong and i also want to know is the 5192 port UDP or TCP and is 8190 port UDP or TCP.And do I have to set it to HTTP_Server.Why dont you people go ahead and post a working tutorial with all the details a person has to know (FAQ didnt help at all) to make a working server that is listed in the browser.I am using a Huawei HG530 router and port forwarding is very easy.All I need to know are all the details and mistakes a person can make (All the ports I have forwarded work and I can have a server for every game,except VCMP) I actually made a vcmp server a year ago and it worked...i just forwarded 5192 (dont remember the protocol) but it worked and I had a server...until now.

Pages: [1]