Author Topic: Who can fix my errors!? - thanks  (Read 4019 times)

0 Members and 1 Guest are viewing this topic.

Offline Arber

  • Street Thug
  • *
  • Posts: 28
    • View Profile
Who can fix my errors!? - thanks
« 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

Offline sseebbyy

  • VC:MP Veteran
  • *****
  • Posts: 774
  • Immortal VC:MP Player
    • View Profile
    • Zombie Invasion => Server Forum [DEAD PROJECT]
Re: Who can fix my errors!? - thanks
« Reply #1 on: November 27, 2012, 10:26:39 pm »
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.

Quote
Painful/Noob scripters acts like: I Am The Best Scripter Because I Announce My Releases With Big Font Size Without Giving Too Much Info' In The Hope They All Will Download And Check It. I Ignore Bad Replies, Replies That I Could Learn From, And Replies With So Much Text.



Offline Arber

  • Street Thug
  • *
  • Posts: 28
    • View Profile
Re: Who can fix my errors!? - thanks
« Reply #2 on: November 27, 2012, 11:55:04 pm »
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.

Offline sseebbyy

  • VC:MP Veteran
  • *****
  • Posts: 774
  • Immortal VC:MP Player
    • View Profile
    • Zombie Invasion => Server Forum [DEAD PROJECT]
Re: Who can fix my errors!? - thanks
« Reply #3 on: November 28, 2012, 01:00:58 am »
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.


Quote
Painful/Noob scripters acts like: I Am The Best Scripter Because I Announce My Releases With Big Font Size Without Giving Too Much Info' In The Hope They All Will Download And Check It. I Ignore Bad Replies, Replies That I Could Learn From, And Replies With So Much Text.



Offline MatheuS

  • Made Man
  • ***
  • Posts: 207
  • Pawn And Squirrel Scripter
    • View Profile
    • Brazillian Community
Re: Who can fix my errors!? - thanks
« Reply #4 on: November 28, 2012, 02:36:11 pm »
delect line public OnPlayerRequestClass

type:

[pawn]public OnPlayerRequestClass(playerid, classid, skinid)
{
 return 1;
}
[/pawn]

you compile delect error's

Offline NeskWriter

  • Crime Boss
  • ****
  • Posts: 355
    • View Profile
Re: Who can fix my errors!? - thanks
« Reply #5 on: November 28, 2012, 02:46:17 pm »
Remove the 2nd OnPlayerRequestClass public on the 219th string


-Funniest quotes-

Quote from: asad3man
i cant able to understand

Offline Arber

  • Street Thug
  • *
  • Posts: 28
    • View Profile
Re: Who can fix my errors!? - thanks
« Reply #6 on: November 28, 2012, 02:54:41 pm »
yes, i have fix first error. Now is error 2 at line 219 look the photo:

Offline Fuzzy168

  • VC:MP Veteran
  • *****
  • Posts: 729
  • Programming since 2011
    • View Profile
Re: Who can fix my errors!? - thanks
« Reply #7 on: November 28, 2012, 03:49:41 pm »
delect line public OnPlayerRequestClass

type:

[pawn]public OnPlayerRequestClass(playerid, classid, skinid)
{
 return 1;
}
[/pawn]

you compile delect error's
Bullshit!!

According to here, OnPlayerRequestClass has only 2 parameters which is playerid and classid. skinid doesn't exist. That's why it's giving you the error.
I'm beginning to feel like a Lag God, Lag God

Offline NeskWriter

  • Crime Boss
  • ****
  • Posts: 355
    • View Profile
Re: Who can fix my errors!? - thanks
« Reply #8 on: November 28, 2012, 08:19:29 pm »
Clear fully this public


-Funniest quotes-

Quote from: asad3man
i cant able to understand