SA-MP Forums Archive
Any one help please - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Any one help please (/showthread.php?tid=549682)



Any one help please - XaibBaba - 08.12.2014

Код:
public OnPlayerClickPlayerTextDraw(playerid, Text:textid)
{
    if(textid == Whee[3])
    {
        SetPlayerSkin(playerid, 0);
	}
    else if(textid == Whee[4])
    {
		SetPlayerSkin(playerid, 0);
	}
	else if(textid == Whee[5])
    {
Код:
(7264) : error 025: function heading differs from prototype
This error is comming please help me


Re: Any one help please - VishvaJeet - 08.12.2014

Код:
public OnPlayerClickPlayerTextDraw(playerid, PlayerText:textid)
{
    if(textid == Whee[3])
    {
        SetPlayerSkin(playerid, 0);
    }
    else if(textid == Whee[4])
    {
		SetPlayerSkin(playerid, 0);
    }
    else if(textid == Whee[5])
    {
you can't use Text: place of PlayerText: