PDA

View Full Version : 4 Errors


Gortex
25/01/2013, 06:02 PM
C:\Documents and Settings\Uporabnik\Desktop\Scripts for sell [0.3e]\[E] Name Roleplay (By LilCuete)\gamemodes\N-RP10.pwn(516) : error 025: function heading differs from prototype
C:\Documents and Settings\Uporabnik\Desktop\Scripts for sell [0.3e]\[E] Name Roleplay (By LilCuete)\gamemodes\N-RP10.pwn(10310) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Uporabnik\Desktop\Scripts for sell [0.3e]\[E] Name Roleplay (By LilCuete)\gamemodes\N-RP10.pwn(17727) : error 025: function heading differs from prototype
C:\Documents and Settings\Uporabnik\Desktop\Scripts for sell [0.3e]\[E] Name Roleplay (By LilCuete)\gamemodes\N-RP10.pwn(60442) : error 035: argument type mismatch (argument 2)
C:\Documents and Settings\Uporabnik\Desktop\Scripts for sell [0.3e]\[E] Name Roleplay (By LilCuete)\gamemodes\N-RP10.pwn(73812) : error 035: argument type mismatch (argument 2)
C:\Documents and Settings\Uporabnik\Desktop\Scripts for sell [0.3e]\[E] Name Roleplay (By LilCuete)\gamemodes\N-RP10.pwn(10189) : warning 204: symbol is assigned a value that is never used: "WeightUsed"
C:\Documents and Settings\Uporabnik\Desktop\Scripts for sell [0.3e]\[E] Name Roleplay (By LilCuete)\gamemodes\N-RP10.pwn(17085) : warning 204: symbol is assigned a value that is never used: "tutorialtimer"
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase


4 Errors.

Line 516: rward OnPlayerLogin(playerid,password[]);



Line 10310 : if(IsPlayerAiming(playerid))


Line 17727: public OnPlayerLogin(playerid,password[])


Line 60442: OnPlayerLogin(playerid,tmp);


Line 73812: OnPlayerLogin(playerid,tmppass);


Line 10189: WeightUsed = 0;

Line 17085: tutorialtimer = SetTimer("TutorialLoop", 1000, 1);




Regards,

Gortex

Gortex
25/01/2013, 06:18 PM
EDIT: Fixed 2 Warnings!

Gortex
26/01/2013, 07:08 AM
Please help :(

CrazyChoco
26/01/2013, 07:14 AM
Can you provide the full function/public of those lines?

CrazyChoco
26/01/2013, 07:17 AM
"Hate to double post"

Anyway i might got some fixes :p

Change OnPlayerLogin(playerid,tmppass); to OnPlayerLogin(playerid,tmppass)
and change OnPlayerLogin(playerid,tmp); to OnPlayerLogin(playerid,tmp)

Not sure it works, cause i couldn't see the whole code of the function :p

Gortex
26/01/2013, 07:29 AM
"Hate to double post"

Anyway i might got some fixes :p

Change to OnPlayerLogin(playerid,tmppass)
and change to OnPlayerLogin(playerid,tmp)

Not sure it works, cause i couldn't see the whole code of the function :p




it didint helped i've got 6 more errors xd

C:\Documents and Settings\Uporabnik\Desktop\Scripts for sell [0.3e]\[E] Name Roleplay (By LilCuete)\gamemodes\N-RP10.pwn(492) : error 025: function heading differs from prototype
C:\Documents and Settings\Uporabnik\Desktop\Scripts for sell [0.3e]\[E] Name Roleplay (By LilCuete)\gamemodes\N-RP10.pwn(17724) : error 025: function heading differs from prototype
C:\Documents and Settings\Uporabnik\Desktop\Scripts for sell [0.3e]\[E] Name Roleplay (By LilCuete)\gamemodes\N-RP10.pwn(60439) : error 035: argument type mismatch (argument 2)
C:\Documents and Settings\Uporabnik\Desktop\Scripts for sell [0.3e]\[E] Name Roleplay (By LilCuete)\gamemodes\N-RP10.pwn(60440) : error 001: expected token: ";", but found "return"
C:\Documents and Settings\Uporabnik\Desktop\Scripts for sell [0.3e]\[E] Name Roleplay (By LilCuete)\gamemodes\N-RP10.pwn(73809) : error 017: undefined symbol "OOnPlayerLogin"
C:\Documents and Settings\Uporabnik\Desktop\Scripts for sell [0.3e]\[E] Name Roleplay (By LilCuete)\gamemodes\N-RP10.pwn(73812) : error 001: expected token: ";", but found "}"
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase


6 Errors.


When i've changed your lines :(

Admigo
26/01/2013, 08:02 AM
Show us the lines.

Gortex
26/01/2013, 10:04 AM
C:\Documents and Settings\Uporabnik\Desktop\Scripts for sell [0.3e]\[E] Name Roleplay (By LilCuete)\gamemodes\N-RP10.pwn(492) : error 025: function heading differs from prototype
C:\Documents and Settings\Uporabnik\Desktop\Scripts for sell [0.3e]\[E] Name Roleplay (By LilCuete)\gamemodes\N-RP10.pwn(17724) : error 025: function heading differs from prototype
C:\Documents and Settings\Uporabnik\Desktop\Scripts for sell [0.3e]\[E] Name Roleplay (By LilCuete)\gamemodes\N-RP10.pwn(60439) : error 035: argument type mismatch (argument 2)
C:\Documents and Settings\Uporabnik\Desktop\Scripts for sell [0.3e]\[E] Name Roleplay (By LilCuete)\gamemodes\N-RP10.pwn(73809) : error 035: argument type mismatch (argument 2)
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase


4 Errors.


1st Error Line 492: forward OnPlayerLogin(playerid,password[]);

2nd Error line 17724: public OnPlayerLogin(playerid,password[])

3rd Error line 60439: OnPlayerLogin(playerid,tmp);

4th Error Line 73809 : OnPlayerLogin(playerid,tmppass);

I really need help :(

Gortex
26/01/2013, 11:01 AM
please help :(

IgrexolonO
26/01/2013, 11:09 AM
I think, that you've got already defined this function somewhere else. Try to find it in includes or gamemode (OnPlayerLogin).

daniboi229
26/01/2013, 11:12 AM
show us the lines around the errors e.g. 3-4 lines each way

Gortex
26/01/2013, 11:15 AM
nevermind i quited. No use got scammed again for 70$..

daniboi229
26/01/2013, 11:51 AM
if you bought the script you should speak to the person you bought it from