*** This topic title is not descriptive.
#1

Hy guys i have created stats in TextDraw-s, I Have this error:
Код:
(75380 -- 75388) : error 025: function heading differs from prototype
In this lines:
Код:
stock ShowStatsDusan(playerid, player)
{
        TextDrawShowForPlayer(playerid,StatsTDLiniaGore[playerid]);
        TextDrawShowForPlayer(playerid,StatsTDSredina[playerid]);
        TextDrawShowForPlayer(playerid,StatsTDEXOTIQ[playerid]);
        TextDrawShowForPlayer(playerid,StatsTDLiniaGore[playerid]);
	return 0;
}
Reply
#2

this should work:
pawn Код:
stock ShowStatsDusan(playerid)
{
        TextDrawShowForPlayer(playerid,StatsTDLiniaGore[playerid]);
        TextDrawShowForPlayer(playerid,StatsTDSredina[playerid]);
        TextDrawShowForPlayer(playerid,StatsTDEXOTIQ[playerid]);
        TextDrawShowForPlayer(playerid,StatsTDLiniaGore[playerid]);
    return 0;
}
you can use it like:
pawn Код:
ShowStatsDusan(playerid);
hope it helps..
Reply
#3

Quote:
Originally Posted by XtremeR
Посмотреть сообщение
this should work:
pawn Код:
stock ShowStatsDusan(playerid)
{
        TextDrawShowForPlayer(playerid,StatsTDLiniaGore[playerid]);
        TextDrawShowForPlayer(playerid,StatsTDSredina[playerid]);
        TextDrawShowForPlayer(playerid,StatsTDEXOTIQ[playerid]);
        TextDrawShowForPlayer(playerid,StatsTDLiniaGore[playerid]);
    return 0;
}
you can use it like:
pawn Код:
ShowStatsDusan(playerid);
hope it helps..
Ty working
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)