Vice City Multiplayer

VC:MP 0.3 => mIRC/pawn Scripting => Topic started by: TheGamerHD on June 10, 2014, 12:27:34 pm

Title: Server Compiling Errors (Fixed Tutorial)
Post by: TheGamerHD on June 10, 2014, 12:27:34 pm
C:\Documents and Settings\Admin\Desktop\server2\filterscripts\motd.pwn(47) : error 017: undefined symbol "TextDrawCreate"
C:\Documents and Settings\Admin\Desktop\server2\filterscripts\motd.pwn(47) : warning 213: tag mismatch
C:\Documents and Settings\Admin\Desktop\server2\filterscripts\motd.pwn(48) : error 017: undefined symbol "TextDrawLetterSize"
C:\Documents and Settings\Admin\Desktop\server2\filterscripts\motd.pwn(49) : error 017: undefined symbol "TextDrawTextSize"
C:\Documents and Settings\Admin\Desktop\server2\filterscripts\motd.pwn(50) : error 017: undefined symbol "TextDrawAlignment"
C:\Documents and Settings\Admin\Desktop\server2\filterscripts\motd.pwn(51) : error 017: undefined symbol "TextDrawColor"
C:\Documents and Settings\Admin\Desktop\server2\filterscripts\motd.pwn(52) : error 017: undefined symbol "TextDrawUseBox"
C:\Documents and Settings\Admin\Desktop\server2\filterscripts\motd.pwn(53) : error 017: undefined symbol "TextDrawBoxColor"
C:\Documents and Settings\Admin\Desktop\server2\filterscripts\motd.pwn(54) : error 017: undefined symbol "TextDrawSetShadow"
C:\Documents and Settings\Admin\Desktop\server2\filterscripts\motd.pwn(55) : error 017: undefined symbol "TextDrawSetOutline"
C:\Documents and Settings\Admin\Desktop\server2\filterscripts\motd.pwn(56) : error 017: undefined symbol "TextDrawFont"
C:\Documents and Settings\Admin\Desktop\server2\filterscripts\motd.pwn(58) : error 017: undefined symbol "TextDrawCreate"
C:\Documents and Settings\Admin\Desktop\server2\filterscripts\motd.pwn(58) : warning 213: tag mismatch
C:\Documents and Settings\Admin\Desktop\server2\filterscripts\motd.pwn(59) : error 017: undefined symbol "TextDrawLetterSize"
C:\Documents and Settings\Admin\Desktop\server2\filterscripts\motd.pwn(60) : error 017: undefined symbol "TextDrawAlignment"
C:\Documents and Settings\Admin\Desktop\server2\filterscripts\motd.pwn(61) : error 017: undefined symbol "TextDrawColor"
C:\Documents and Settings\Admin\Desktop\server2\filterscripts\motd.pwn(62) : error 017: undefined symbol "TextDrawSetShadow"
C:\Documents and Settings\Admin\Desktop\server2\filterscripts\motd.pwn(63) : error 017: undefined symbol "TextDrawSetOutline"
C:\Documents and Settings\Admin\Desktop\server2\filterscripts\motd.pwn(64) : error 017: undefined symbol "TextDrawBackgroundColor"
C:\Documents and Settings\Admin\Desktop\server2\filterscripts\motd.pwn(65) : error 017: undefined symbol "TextDrawFont"
C:\Documents and Settings\Admin\Desktop\server2\filterscripts\motd.pwn(66) : error 017: undefined symbol "TextDrawSetProportional"
C:\Documents and Settings\Admin\Desktop\server2\filterscripts\motd.pwn(79) : error 017: undefined symbol "TextDrawDestroy"
C:\Documents and Settings\Admin\Desktop\server2\filterscripts\motd.pwn(80) : error 017: undefined symbol "TextDrawDestroy"
C:\Documents and Settings\Admin\Desktop\server2\filterscripts\motd.pwn(91) : error 017: undefined symbol "TextDrawShowForPlayer"
C:\Documents and Settings\Admin\Desktop\server2\filterscripts\motd.pwn(270) : error 017: undefined symbol "TextDrawDestroy"
C:\Documents and Settings\Admin\Desktop\server2\filterscripts\motd.pwn(271) : error 017: undefined symbol "TextDrawCreate"
C:\Documents and Settings\Admin\Desktop\server2\filterscripts\motd.pwn(271) : warning 213: tag mismatch
C:\Documents and Settings\Admin\Desktop\server2\filterscripts\motd.pwn(272) : error 017: undefined symbol "TextDrawLetterSize"
C:\Documents and Settings\Admin\Desktop\server2\filterscripts\motd.pwn(273) : error 017: undefined symbol "TextDrawAlignment"

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


26 Errors.








to fix this C:\Documents and Settings\Admin\Desktop\server2\filterscripts\motd.pwn(58) <------- remove the error on line ex 58 remove it the line 58 for ex compile it and ur done ;)
Title: Re: Server Compiling Errors (Fixed Tutorial)
Post by: TheGamerHD on June 10, 2014, 12:28:49 pm
guys remember sometimes maybe ur script bugged so please pm me  ;D
Title: Re: Server Compiling Errors (Fixed Tutorial)
Post by: sseebbyy on June 10, 2014, 07:06:51 pm
You tried to convert a script made for SA:MP, into a one for VC:MP.
But that is not possible, because VC:MP doesn't have as many functions as SA:MP does.

The full list with all functions and callbacks is right in the a_vcmp.ini file, or if you want a more detailed one, you should check the topic References for Pawn Scripting (http://forum.vicecitymultiplayer.com/index.php?topic=5144.0) by stormeus.
There you can find more info (like irc adress), all available functions and callbacks, but IDs too. (of vehicles,pickups,etc)

I suggest you to start a script from zero, using VC:MP features, not SA:MP's one. ;)