Vice City Multiplayer

VC:MP => General Discussion => Topic started by: thijn on January 10, 2010, 01:37:57 PM

Title: pawno Script
Post by: thijn on January 10, 2010, 01:37:57 PM
The script which is included in the new Pawno server isnt working.
We can't compile it, because it has errors.


First, the first line:

#include <a_samp>

is wrong because it has to be

#include <a_vcmp>


then
when trying to compile the default script we get these error's:

*******\pawno\vcmp.pwn(23) : warning 202: number of arguments does not match definition
*******\pawno\vcmp.pwn(23) : warning 202: number of arguments does not match definition
*******\pawno\vcmp.pwn(24) : error 017: undefined symbol "SetPlayerCameraPos"
*******\pawno\vcmp.pwn(25) : error 017: undefined symbol "SetPlayerCameraLookAt"
Pawn compiler 3.0.3367 Copyright (c) 1997-2005, ITB CompuPhase


2 Errors.

(used '*******' to leave out my personal folder names)

So, can someone please give us a working default script were we can work with....
Title: Re: pawno Script
Post by: StriKe on January 10, 2010, 01:44:08 PM
Download the linux server package which contains the default game mode.
or download this
http://deathsquad-clan.com/vc-mp/03r2/gamemodes.zip

Title: Re: pawno Script
Post by: thijn on January 10, 2010, 01:47:14 PM
thanks for it
but i still get errors:
(takes to long to leave out my folders lol)

C:\Documents and Settings\Thijn\Mijn documenten\pawno\vcmp.pwn(1) : error 010: invalid function or declaration
C:\Documents and Settings\Thijn\Mijn documenten\pawno\vcmp.pwn(20) : error 017: undefined symbol "MAX_PLAYERS"
C:\Documents and Settings\Thijn\Mijn documenten\pawno\vcmp.pwn(20) : error 009: invalid array size (negative or zero)
C:\Documents and Settings\Thijn\Mijn documenten\pawno\vcmp.pwn(28) : error 017: undefined symbol "print"
C:\Documents and Settings\Thijn\Mijn documenten\pawno\vcmp.pwn(29) : error 017: undefined symbol "printf"
C:\Documents and Settings\Thijn\Mijn documenten\pawno\vcmp.pwn(30) : error 017: undefined symbol "printf"
C:\Documents and Settings\Thijn\Mijn documenten\pawno\vcmp.pwn(31) : error 017: undefined symbol "print"
C:\Documents and Settings\Thijn\Mijn documenten\pawno\vcmp.pwn(38) : error 017: undefined symbol "SetWaterLevel"
C:\Documents and Settings\Thijn\Mijn documenten\pawno\vcmp.pwn(39) : error 017: undefined symbol "SetGamespeed"
C:\Documents and Settings\Thijn\Mijn documenten\pawno\vcmp.pwn(40) : error 017: undefined symbol "SetGravity"
C:\Documents and Settings\Thijn\Mijn documenten\pawno\vcmp.pwn(41) : error 017: undefined symbol "GetPlayerName"
C:\Documents and Settings\Thijn\Mijn documenten\pawno\vcmp.pwn(70) : error 017: undefined symbol "strcmp"
C:\Documents and Settings\Thijn\Mijn documenten\pawno\vcmp.pwn(73) : error 017: undefined symbol "strlen"
C:\Documents and Settings\Thijn\Mijn documenten\pawno\vcmp.pwn(74) : error 017: undefined symbol "GetPlayerHealth"
C:\Documents and Settings\Thijn\Mijn documenten\pawno\vcmp.pwn(75) : error 017: undefined symbol "GetPlayerArmour"
C:\Documents and Settings\Thijn\Mijn documenten\pawno\vcmp.pwn(76) : error 017: undefined symbol "IsPlayerInAnyVehicle"
C:\Documents and Settings\Thijn\Mijn documenten\pawno\vcmp.pwn(78) : error 017: undefined symbol "GetVehicleHealth"
C:\Documents and Settings\Thijn\Mijn documenten\pawno\vcmp.pwn(79) : error 017: undefined symbol "format"
C:\Documents and Settings\Thijn\Mijn documenten\pawno\vcmp.pwn(79) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Thijn\Mijn documenten\pawno\vcmp.pwn(79) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Thijn\Mijn documenten\pawno\vcmp.pwn(79) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Thijn\Mijn documenten\pawno\vcmp.pwn(79) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Thijn\Mijn documenten\pawno\vcmp.pwn(79) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Thijn\Mijn documenten\pawno\vcmp.pwn(79) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Thijn\Mijn documenten\pawno\vcmp.pwn(79) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Thijn\Mijn documenten\pawno\vcmp.pwn(81) : error 017: undefined symbol "format"
C:\Documents and Settings\Thijn\Mijn documenten\pawno\vcmp.pwn(81) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Thijn\Mijn documenten\pawno\vcmp.pwn(81) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Thijn\Mijn documenten\pawno\vcmp.pwn(81) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Thijn\Mijn documenten\pawno\vcmp.pwn(81) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Thijn\Mijn documenten\pawno\vcmp.pwn(81) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Thijn\Mijn documenten\pawno\vcmp.pwn(81) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Thijn\Mijn documenten\pawno\vcmp.pwn(83) : error 017: undefined symbol "SendClientMessageToAll"
C:\Documents and Settings\Thijn\Mijn documenten\pawno\vcmp.pwn(87) : error 017: undefined symbol "GetPlayerHealth"
C:\Documents and Settings\Thijn\Mijn documenten\pawno\vcmp.pwn(88) : error 017: undefined symbol "GetPlayerArmour"
C:\Documents and Settings\Thijn\Mijn documenten\pawno\vcmp.pwn(89) : error 017: undefined symbol "IsPlayerInAnyVehicle"
C:\Documents and Settings\Thijn\Mijn documenten\pawno\vcmp.pwn(91) : error 017: undefined symbol "GetVehicleHealth"
C:\Documents and Settings\Thijn\Mijn documenten\pawno\vcmp.pwn(92) : error 017: undefined symbol "format"
C:\Documents and Settings\Thijn\Mijn documenten\pawno\vcmp.pwn(92) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Thijn\Mijn documenten\pawno\vcmp.pwn(92) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Thijn\Mijn documenten\pawno\vcmp.pwn(92) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Thijn\Mijn documenten\pawno\vcmp.pwn(92) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Thijn\Mijn documenten\pawno\vcmp.pwn(92) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Thijn\Mijn documenten\pawno\vcmp.pwn(92) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Thijn\Mijn documenten\pawno\vcmp.pwn(92) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Thijn\Mijn documenten\pawno\vcmp.pwn(94) : error 017: undefined symbol "format"
Title: Re: pawno Script
Post by: StriKe on January 10, 2010, 01:54:26 PM
Did you include a_vcmp?
btw gamemode which comes with linux packages is already compiled
just place it in a folder "gamemodes" in your server directory and start it.
Title: Re: pawno Script
Post by: [DGC]Doomer on January 11, 2010, 04:22:44 PM
WARNING PAWNO SEEMS TO BE CASE SENSITIVE!!
Title: Re: pawno Script
Post by: Force on January 11, 2010, 07:59:19 PM
Quote from: [DGC]Doomer on January 11, 2010, 04:22:44 PM
WARNING PAWNO SEEMS TO BE CASE SENSITIVE!!

No shit! Just about every scripting language is case sensitive, I think it's only mIRC which isn't as far as I know.

P.S - Squirrel > Pawno - even though the devs hate it it has the most documentation in vcmp!
Title: Re: pawno Script
Post by: [AoD]NC on January 11, 2010, 08:21:08 PM
Quote from: Force on January 11, 2010, 07:59:19 PM
P.S - Squirrel > Pawno - even though the devs hate it it has the most documentation in vcmp!

Thx to some ppl, who have helped.
/me hides

And its based on wiki, so everyone was able to add some stuff.

Nah will Juppi still work on Squirrel if Pawn released btw?

Im waiting now for VCMP devs wiki, if they plan it ofc :) ?
Title: Re: pawno Script
Post by: -TriX- on January 11, 2010, 10:23:02 PM
I have use for example mode by falcon..and I have do my GameMode in pawno based on it...Im scripting it when is ready I will post it...It have !goto !arm !heal !wep !fight !info and more teleports... ;)
Title: Re: pawno Script
Post by: MrAcmering on January 12, 2010, 01:33:50 PM
Like in your SA:MP script (Monkey Scripts)
Title: Re: pawno Script
Post by: -TriX- on January 12, 2010, 01:57:52 PM
ya but have a less of function thats I cant incorporated coz its a diverse include