4 erros on Vortex Roleplay 2 Gamemode! - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: 4 erros on Vortex Roleplay 2 Gamemode! (
/showthread.php?tid=276999)
4 erros on Vortex Roleplay 2 Gamemode! -
Sensitive - 16.08.2011
Hello!
I'm using Vortex Roleplay 2 script, i have connected mysql database and all, but when i try to compile the script i get these errors.
.:Errors:.
Код:
C:\Documents and Settings\Microsoft.KODUARVU-6442CC\Desktop\SA-MP\gamemodes\vx-rp.pwn(860) : error 025: function heading differs from prototype
C:\Documents and Settings\Microsoft.KODUARVU-6442CC\Desktop\SA-MP\gamemodes\vx-rp.pwn(7484) : error 025: function heading differs from prototype
C:\Documents and Settings\Microsoft.KODUARVU-6442CC\Desktop\SA-MP\gamemodes\vx-rp.pwn(7484) : error 021: symbol already defined: "IsPlayerAimingAtPlayer"
C:\Documents and Settings\Microsoft.KODUARVU-6442CC\Desktop\SA-MP\gamemodes\vx-rp.pwn(9332) : error 017: undefined symbol "Get2DPosZone"
.:Error Lines:.
Код:
Line 860 - public OnPlayerShootPlayer(Shooter,Target,Float:HealthLost,Float:ArmourLost) {
Line 7484 - stock IsPlayerAimingAtPlayer(playerid, aimid) {
Line 9332 - Get2DPosZone(spikeVariables[i][sPos][0], spikeVariables[i][sPos][1], sZone, MAX_ZONE_NAME); // Edited a_zones function (GET INCLUDE FROM SVN!!1)
Re: 4 erros on Vortex Roleplay 2 Gamemode! -
Shockey HD - 16.08.2011
Quote:
Originally Posted by Sensitive
Hello!
I'm using Vortex Roleplay 2 script, i have connected mysql database and all, but when i try to compile the script i get these errors.
.:Errors:.
Код:
C:\Documents and Settings\Microsoft.KODUARVU-6442CC\Desktop\SA-MP\gamemodes\vx-rp.pwn(860) : error 025: function heading differs from prototype
C:\Documents and Settings\Microsoft.KODUARVU-6442CC\Desktop\SA-MP\gamemodes\vx-rp.pwn(7484) : error 025: function heading differs from prototype
C:\Documents and Settings\Microsoft.KODUARVU-6442CC\Desktop\SA-MP\gamemodes\vx-rp.pwn(7484) : error 021: symbol already defined: "IsPlayerAimingAtPlayer"
C:\Documents and Settings\Microsoft.KODUARVU-6442CC\Desktop\SA-MP\gamemodes\vx-rp.pwn(9332) : error 017: undefined symbol "Get2DPosZone"
.:Error Lines:.
Код:
Line 860 - public OnPlayerShootPlayer(Shooter,Target,Float:HealthLost,Float:ArmourLost) {
Line 7484 - stock IsPlayerAimingAtPlayer(playerid, aimid) {
Line 9332 - Get2DPosZone(spikeVariables[i][sPos][0], spikeVariables[i][sPos][1], sZone, MAX_ZONE_NAME); // Edited a_zones function (GET INCLUDE FROM SVN!!1)
|
Im going to go back to your signature. Dont post if you don't know anything about scripting!
Read the errors. Get2DPosZone isnt Defined. IsPlayerAimingAtPlayer is already defined. I cant remember what the first two were but it could be just a little incorrect spelling
Re: 4 erros on Vortex Roleplay 2 Gamemode! -
Sensitive - 16.08.2011
Uhh, i never understand those errors. Ill try to fix.
//WTF I cant even find the damn #define for it. I did CTL+F, and still couldn't find them.
Re: 4 erros on Vortex Roleplay 2 Gamemode! -
ElieJabbour - 16.08.2011
Do you have any Filterscripts with OnPlayerShootPlayer ?
Re: 4 erros on Vortex Roleplay 2 Gamemode! -
Sensitive - 16.08.2011
Nope, i do not have filterscripts that would have. I dont have any filterscripts at all

.
Re: 4 erros on Vortex Roleplay 2 Gamemode! -
Sensitive - 16.08.2011
Help?
Re: 4 erros on Vortex Roleplay 2 Gamemode! -
Sensitive - 16.08.2011
HELP?
Re: 4 erros on Vortex Roleplay 2 Gamemode! -
Sensitive - 16.08.2011
Damn! My server is offline so long as i get it to work! I Still couldn't find the problem!
Re: 4 erros on Vortex Roleplay 2 Gamemode! -
Shockey HD - 16.08.2011
Do not bump within 48. If someone know your issue. They would Answer.
Re: 4 erros on Vortex Roleplay 2 Gamemode! -
Sensitive - 16.08.2011
I dont think someone would see the topic from next page. And i really need fast help! My server has been offline due this for few hours.