• Welcome to Vice City Multiplayer.
 
Menu

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.

Show posts Menu

Messages - Takumi_

#1
mIRC/pawn Scripting / Re: Problems
July 27, 2010, 07:12:20 PM
Sorry for double post but another problem :


SendClientMessageToAll(GetPlayerColor(playerid), string1);

It compiles well, but when i start the server :
Script[gamemodes/mode.amx]: Run time error 19: "File or function is not found"

It's something with GetPlayerColor !
I've seen that VC:MP has this function, but for me it doesn't work :x

EDIT : SetPlayerColor too :s
#3
mIRC/pawn Scripting / Re: Problems
July 27, 2010, 04:29:17 PM
Well, Same Pawno as sa-mp, no ?
#4
mIRC/pawn Scripting / Re: Problems
July 26, 2010, 11:57:03 PM
Thanks for your reply ;)
Well no, i just tried to compile the script that i found with the serverpackage, nothing more
And yeah, i know what the warning mean, but it's kinda weird :x
#5
mIRC/pawn Scripting / Problems
July 26, 2010, 11:16:45 PM
Hello guys, My name is Takumi_, I'm an SA-MP scripter
I saw VC:MP, i liked it especially when it's in pawno too, so i decided to try it !

But i had some troubles, I downloaded the server package, then i copied the 'pawno' foolder from sa-mp and added it to the VC:MP server package so i can edit the 'mode' gamemode !

PS: I added the a_vcmp to the includes foolder !
When i compiled, i had these errors :
C:\Documents and Settings\Administrateur\Bureau\VC-MP\gamemodes\mode.pwn(36) : warning 235: public function lacks forward declaration (symbol "OnPlayerConnect")
C:\Documents and Settings\Administrateur\Bureau\VC-MP\gamemodes\mode.pwn(47) : warning 235: public function lacks forward declaration (symbol "OnPlayerDisconnect")
C:\Documents and Settings\Administrateur\Bureau\VC-MP\gamemodes\mode.pwn(55) : warning 235: public function lacks forward declaration (symbol "OnPlayerEnterVehicle")
C:\Documents and Settings\Administrateur\Bureau\VC-MP\gamemodes\mode.pwn(62) : warning 235: public function lacks forward declaration (symbol "OnPlayerCommandText")
C:\Documents and Settings\Administrateur\Bureau\VC-MP\gamemodes\mode.pwn(86) : warning 217: loose indentation
C:\Documents and Settings\Administrateur\Bureau\VC-MP\gamemodes\mode.pwn(104) : warning 217: loose indentation
C:\Documents and Settings\Administrateur\Bureau\VC-MP\gamemodes\mode.pwn(111) : warning 217: loose indentation
C:\Documents and Settings\Administrateur\Bureau\VC-MP\gamemodes\mode.pwn(112) : warning 217: loose indentation
C:\Documents and Settings\Administrateur\Bureau\VC-MP\gamemodes\mode.pwn(117) : warning 217: loose indentation
C:\Documents and Settings\Administrateur\Bureau\VC-MP\gamemodes\mode.pwn(124) : warning 217: loose indentation
C:\Documents and Settings\Administrateur\Bureau\VC-MP\gamemodes\mode.pwn(125) : warning 217: loose indentation
C:\Documents and Settings\Administrateur\Bureau\VC-MP\gamemodes\mode.pwn(130) : warning 217: loose indentation
C:\Documents and Settings\Administrateur\Bureau\VC-MP\gamemodes\mode.pwn(137) : warning 217: loose indentation
C:\Documents and Settings\Administrateur\Bureau\VC-MP\gamemodes\mode.pwn(138) : warning 217: loose indentation
C:\Documents and Settings\Administrateur\Bureau\VC-MP\gamemodes\mode.pwn(155) : warning 217: loose indentation
C:\Documents and Settings\Administrateur\Bureau\VC-MP\gamemodes\mode.pwn(158) : warning 217: loose indentation
C:\Documents and Settings\Administrateur\Bureau\VC-MP\gamemodes\mode.pwn(198) : warning 217: loose indentation
C:\Documents and Settings\Administrateur\Bureau\VC-MP\gamemodes\mode.pwn(222) : warning 235: public function lacks forward declaration (symbol "OnPlayerText")
C:\Documents and Settings\Administrateur\Bureau\VC-MP\gamemodes\mode.pwn(235) : warning 217: loose indentation
C:\Documents and Settings\Administrateur\Bureau\VC-MP\gamemodes\mode.pwn(236) : warning 217: loose indentation
C:\Documents and Settings\Administrateur\Bureau\VC-MP\gamemodes\mode.pwn(243) : warning 217: loose indentation
C:\Documents and Settings\Administrateur\Bureau\VC-MP\gamemodes\mode.pwn(261) : warning 217: loose indentation
C:\Documents and Settings\Administrateur\Bureau\VC-MP\gamemodes\mode.pwn(299) : warning 235: public function lacks forward declaration (symbol "OnPlayerSpawn")
C:\Documents and Settings\Administrateur\Bureau\VC-MP\gamemodes\mode.pwn(307) : warning 235: public function lacks forward declaration (symbol "OnPlayerDeath")
C:\Documents and Settings\Administrateur\Bureau\VC-MP\gamemodes\mode.pwn(315) : warning 235: public function lacks forward declaration (symbol "OnPlayerRequestClass")
C:\Documents and Settings\Administrateur\Bureau\VC-MP\gamemodes\mode.pwn(323) : warning 235: public function lacks forward declaration (symbol "OnGameModeInit")
C:\Documents and Settings\Administrateur\Bureau\VC-MP\gamemodes\mode.pwn(582) : warning 217: loose indentation
C:\Documents and Settings\Administrateur\Bureau\VC-MP\gamemodes\mode.pwn(583) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Administrateur\Bureau\VC-MP\gamemodes\mode.pwn(584) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Administrateur\Bureau\VC-MP\gamemodes\mode.pwn(585) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Administrateur\Bureau\VC-MP\gamemodes\mode.pwn(586) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Administrateur\Bureau\VC-MP\gamemodes\mode.pwn(587) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Administrateur\Bureau\VC-MP\gamemodes\mode.pwn(588) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Administrateur\Bureau\VC-MP\gamemodes\mode.pwn(589) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Administrateur\Bureau\VC-MP\gamemodes\mode.pwn(590) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Administrateur\Bureau\VC-MP\gamemodes\mode.pwn(591) : warning 217: loose indentation
C:\Documents and Settings\Administrateur\Bureau\VC-MP\gamemodes\mode.pwn(591) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Administrateur\Bureau\VC-MP\gamemodes\mode.pwn(592) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Administrateur\Bureau\VC-MP\gamemodes\mode.pwn(593) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Administrateur\Bureau\VC-MP\gamemodes\mode.pwn(594) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Administrateur\Bureau\VC-MP\gamemodes\mode.pwn(595) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Administrateur\Bureau\VC-MP\gamemodes\mode.pwn(599) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Administrateur\Bureau\VC-MP\gamemodes\mode.pwn(600) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Administrateur\Bureau\VC-MP\gamemodes\mode.pwn(601) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Administrateur\Bureau\VC-MP\gamemodes\mode.pwn(602) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Administrateur\Bureau\VC-MP\gamemodes\mode.pwn(603) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Administrateur\Bureau\VC-MP\gamemodes\mode.pwn(604) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Administrateur\Bureau\VC-MP\gamemodes\mode.pwn(605) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Administrateur\Bureau\VC-MP\gamemodes\mode.pwn(606) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Administrateur\Bureau\VC-MP\gamemodes\mode.pwn(607) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Administrateur\Bureau\VC-MP\gamemodes\mode.pwn(608) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Administrateur\Bureau\VC-MP\gamemodes\mode.pwn(609) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Administrateur\Bureau\VC-MP\gamemodes\mode.pwn(610) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Administrateur\Bureau\VC-MP\gamemodes\mode.pwn(611) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Administrateur\Bureau\VC-MP\gamemodes\mode.pwn(612) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Administrateur\Bureau\VC-MP\gamemodes\mode.pwn(613) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Administrateur\Bureau\VC-MP\gamemodes\mode.pwn(614) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Administrateur\Bureau\VC-MP\gamemodes\mode.pwn(615) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Administrateur\Bureau\VC-MP\gamemodes\mode.pwn(616) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Administrateur\Bureau\VC-MP\gamemodes\mode.pwn(617) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Administrateur\Bureau\VC-MP\gamemodes\mode.pwn(618) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Administrateur\Bureau\VC-MP\gamemodes\mode.pwn(619) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Administrateur\Bureau\VC-MP\gamemodes\mode.pwn(620) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Administrateur\Bureau\VC-MP\gamemodes\mode.pwn(621) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Administrateur\Bureau\VC-MP\gamemodes\mode.pwn(622) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Administrateur\Bureau\VC-MP\gamemodes\mode.pwn(623) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Administrateur\Bureau\VC-MP\gamemodes\mode.pwn(624) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Administrateur\Bureau\VC-MP\gamemodes\mode.pwn(625) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Administrateur\Bureau\VC-MP\gamemodes\mode.pwn(626) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Administrateur\Bureau\VC-MP\gamemodes\mode.pwn(627) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Administrateur\Bureau\VC-MP\gamemodes\mode.pwn(628) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Administrateur\Bureau\VC-MP\gamemodes\mode.pwn(629) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Administrateur\Bureau\VC-MP\gamemodes\mode.pwn(630) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Administrateur\Bureau\VC-MP\gamemodes\mode.pwn(631) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Administrateur\Bureau\VC-MP\gamemodes\mode.pwn(632) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Administrateur\Bureau\VC-MP\gamemodes\mode.pwn(633) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Administrateur\Bureau\VC-MP\gamemodes\mode.pwn(634) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Administrateur\Bureau\VC-MP\gamemodes\mode.pwn(635) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Administrateur\Bureau\VC-MP\gamemodes\mode.pwn(655) : warning 217: loose indentation
C:\Documents and Settings\Administrateur\Bureau\VC-MP\gamemodes\mode.pwn(657) : warning 217: loose indentation
C:\Documents and Settings\Administrateur\Bureau\VC-MP\gamemodes\mode.pwn(664) : warning 235: public function lacks forward declaration (symbol "FindPlayerIDFromString")
C:\Documents and Settings\Administrateur\Bureau\VC-MP\gamemodes\mode.pwn(669) : warning 217: loose indentation
C:\Documents and Settings\Administrateur\Bureau\VC-MP\gamemodes\mode.pwn(687) : warning 235: public function lacks forward declaration (symbol "InitWepList")
C:\Documents and Settings\Administrateur\Bureau\VC-MP\gamemodes\mode.pwn(755) : warning 235: public function lacks forward declaration (symbol "FindWepIDFromString")
C:\Documents and Settings\Administrateur\Bureau\VC-MP\gamemodes\mode.pwn(761) : warning 217: loose indentation



Please help me to fix this !
Thanks, Takumi_  :)