Weird problem on public.
#1

PHP код:
public OnRconLoginAttempt(playeridip[], password[], success
PHP код:
 error 025: function heading differs from prototype 
If you need the full code then tell me.
Reply
#2

There isnt suppose to be a playerid parameter.

https://sampwiki.blast.hk/wiki/OnRconLoginAttempt

pawn Код:
public OnRconLoginAttempt(ip[], password[], success)
Reply
#3

If i remove it i get errors undefined symbol playerid.
Reply
#4

pawn Код:
new playerid;
Reply
#5

Same.
Reply
#6

Quote:
Originally Posted by Stuun
Посмотреть сообщение
If i remove it i get errors undefined symbol playerid.
I would assume you used the playerid paramater so now your code doesn't work like it should. Post the code that you have inside that public.

Quote:
Originally Posted by Ryz
Посмотреть сообщение
pawn Код:
new playerid;
Sorry but how is that even helping? I get that your trying to help but don't post crap like that and not say what its meant for or how to even use it.
Reply
#7

Btw 1 error left

for(new i=0; i<MAX_PLAYERS; i++)

warning 219: local variable "i" shadows a variable at a preceding level
Reply
#8

Quote:
Originally Posted by nickdodd25
Посмотреть сообщение
I would assume you used the playerid paramater so now your code doesn't work like it should. Post the code that you have inside that public.



Sorry but how is that even helping? I get that your trying to help but don't post crap like that and not say what its meant for or how to even use it.
just given idea, not helped -,-
Reply
#9

Fixed i just removed

for(new i=0; i<MAX_PLAYERS; i++)
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)