4 Errors
#1

pawn Код:
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
Reply
#2

EDIT: Fixed 2 Warnings!
Reply
#3

Please help
Reply
#4

Can you provide the full function/public of those lines?
Reply
#5

"Hate to double post"

Anyway i might got some fixes

Change
Quote:

OnPlayerLogin(playerid,tmppass);

to
pawn Код:
OnPlayerLogin(playerid,tmppass)
and change
Quote:

OnPlayerLogin(playerid,tmp);

to
pawn Код:
OnPlayerLogin(playerid,tmp)
Not sure it works, cause i couldn't see the whole code of the function

Reply
#6

Quote:
Originally Posted by CrazyChoco
Посмотреть сообщение
"Hate to double post"

Anyway i might got some fixes

Change to
pawn Код:
OnPlayerLogin(playerid,tmppass)
and change to
pawn Код:
OnPlayerLogin(playerid,tmp)
Not sure it works, cause i couldn't see the whole code of the function
it didint helped i've got 6 more errors xd

pawn Код:
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
Reply
#7

Show us the lines.
Reply
#8

pawn Код:
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:
pawn Код:
forward OnPlayerLogin(playerid,password[]);
2nd Error line 17724:
pawn Код:
public OnPlayerLogin(playerid,password[])
3rd Error line 60439:
pawn Код:
OnPlayerLogin(playerid,tmp);
4th Error Line 73809 :
pawn Код:
OnPlayerLogin(playerid,tmppass);
I really need help
Reply
#9

please help
Reply
#10

I think, that you've got already defined this function somewhere else. Try to find it in includes or gamemode (OnPlayerLogin).
Reply


Forum Jump:


Users browsing this thread: 4 Guest(s)