Need help on playeraward...
#1

PHP код:
public AwardWinner(Player)
{
    
GivePlayerMoney(playerid500);//here
    
return 1;

PHP код:
error 017undefined symbol "playerid" 
I just want to know when races ends it loads Award player I just want to give him 500 $.
Reply
#2

public Awarwinner(playerid)
{
GivePlayerMoney(playerid, 500);//here
return 1;
}
Reply
#3

Quote:
Originally Posted by Pillhead2007
Посмотреть сообщение
public Awarwinner(playerid)
{
GivePlayerMoney(playerid, 500);//here
return 1;
}
And what you changed?
Reply
#4

Quote:
Originally Posted by Scrillex
Посмотреть сообщение
And what you changed?
public AwardWinner(Player)
to AwardWinner(playerid)
Reply
#5

Yeah found all k.. thank you guys for help and your time
Reply
#6

Quote:
Originally Posted by Scrillex
Посмотреть сообщение
pawn Код:
AwardWinner(playerid) //this line

error 025: function heading differs from prototype
Sorry, forgot to place
pawn Код:
public AwardWinner(playerid);
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)