• Welcome to Vice City Multiplayer.
 

pawno Script

Started by thijn, January 10, 2010, 01:37:57 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

thijn

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....


StriKe

Download the linux server package which contains the default game mode.
or download this
http://deathsquad-clan.com/vc-mp/03r2/gamemodes.zip


thijn

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"


StriKe

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.

[DGC]Doomer

WARNING PAWNO SEEMS TO BE CASE SENSITIVE!!

Force

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!

[AoD]NC

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.
* [AoD]NC 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 :) ?

-TriX-

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... ;)


www.life-urban.co.cc

MrAcmering

Like in your SA:MP script (Monkey Scripts)


YaY

-TriX-

ya but have a less of function thats I cant incorporated coz its a diverse include


www.life-urban.co.cc