what's wrong ?
#8

pawn Код:
stock GetName(playerid)
{
    new name[MAX_PLAYER_NAME];
    GetPlayerName(playerid, name, sizeof(name));
    return name;
}
Then change PlayerName(playerid) and PlayerName(targetid) to GetName(playerid) and GetName(targetid).
You're using two things of the same name, and it's confusing the compiler as to which one you want to use.
Reply


Messages In This Thread
what's wrong ? - by Jhony_Blaze - 16.12.2014, 14:51
Re: what's wrong ? - by Eth - 16.12.2014, 14:55
Re: what's wrong ? - by NoDi522 - 16.12.2014, 15:03
Re: what's wrong ? - by Jhony_Blaze - 16.12.2014, 15:14
Re: what's wrong ? - by UltraScripter - 16.12.2014, 15:21
Re: what's wrong ? - by Threshold - 16.12.2014, 15:27
Re: what's wrong ? - by Jhony_Blaze - 16.12.2014, 15:41
Re: what's wrong ? - by Threshold - 16.12.2014, 15:46
Re: what's wrong ? - by Jhony_Blaze - 16.12.2014, 16:52

Forum Jump:


Users browsing this thread: 1 Guest(s)