4 erros on Vortex Roleplay 2 Gamemode!
#1

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)
Reply
#2

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
Reply
#3

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.
Reply
#4

Do you have any Filterscripts with OnPlayerShootPlayer ?
Reply
#5

Nope, i do not have filterscripts that would have. I dont have any filterscripts at all .
Reply
#6

Help?
Reply
#7

HELP?
Reply
#8

Damn! My server is offline so long as i get it to work! I Still couldn't find the problem!
Reply
#9

Do not bump within 48. If someone know your issue. They would Answer.
Reply
#10

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


Forum Jump:


Users browsing this thread: 2 Guest(s)