25.07.2011, 10:22
I want to define SetPlayerScore into SetPlayerLevel how to do that?
pawn Код:
error 017: undefined symbol "SetPlayerLevel"
error 017: undefined symbol "SetPlayerLevel"
forward SetPlayerLevel(playerid, level)
public SetPlayerLevel(playerid, level)
{
SetPlayerScore(playerid, level);
return 1;
}
#define SetPlayerLevel(%1,%2) SetPlayerScore(%1, %2)
public SetPlayerLevel(playerid, level) { SetPlayerScore(playerid, level); }
#define SetPlayerLevel\
SetPlayerScore