Vice City Multiplayer
VC:MP 0.3 => mIRC/pawn Scripting => Topic started by: Arber on November 27, 2012, 09:58:14 pm
-
WHO CAN CONFIGURE MY SCRIPT, i cannot convert to .amx with pawn.exe because have 2 errors. Thank you
i didn't know where to upload and i uploaded the file to my page:
www.lajmeshqipb.altervista.org/mode.pwn
-
Just type here the errors and the lines where are detected these errors.
Don't ask us to fix your server, just type here the errors and we will tell you how to fix them.
-
Look my errors:
D:\Program Files\Vice City\pawno\mode.pwn(219) : error 025: function heading differs from prototype
D:\Program Files\Vice City\pawno\mode.pwn(220) : error 021: symbol already defined: "OnPlayerRequestClass"
Pawn compiler 3.0.3367 Copyright (c) 1997-2005, ITB CompuPhase
2 Errors.
-
Look my errors:
D:\Program Files\Vice City\pawno\mode.pwn(219) : error 025: function heading differs from prototype
D:\Program Files\Vice City\pawno\mode.pwn(220) : error 021: symbol already defined: "OnPlayerRequestClass"
Pawn compiler 3.0.3367 Copyright (c) 1997-2005, ITB CompuPhase
2 Errors.
For first error: You have to give us the line 219 . (the script from line 219)
For the 2nd error: Are two "OnPlayerRequestClass" in your script. You have to unite them.
-
delect line public OnPlayerRequestClass
type:
[pawn]public OnPlayerRequestClass(playerid, classid, skinid)
{
return 1;
}
[/pawn]
you compile delect error's
-
Remove the 2nd OnPlayerRequestClass public on the 219th string
-
yes, i have fix first error. Now is error 2 at line 219 look the photo:
(http://postimage.org/image/6y5bc4ycn/)
-
delect line public OnPlayerRequestClass
type:
[pawn]public OnPlayerRequestClass(playerid, classid, skinid)
{
return 1;
}
[/pawn]
you compile delect error's
Bullshit!!
According to here (http://thijn.vrocker-hosting.co.uk/VCWiki/index.php/OnPlayerRequestClass), OnPlayerRequestClass has only 2 parameters which is playerid and classid. skinid doesn't exist. That's why it's giving you the error.
-
Clear fully this public