12.11.2010, 13:59
pawn Код:
#define SCM(%0,%1,%2) SendClientMessage(%2,%1,%0)
#define BOJA 0x00FF14FF
#define formatEx(%0,%1,%2) \
do \
{ \
new \
string[128]; \
format(string, sizeof string, %1, %2); \
SCM(string, BOJA, %0); \
} \
while(false)
pawn Код:
public OnPlayerSpawn(playerid)
{
new
name[24];
GetPlayerName(playerid, name , 24);
formatEx(playerid, "|- Your name is: %s -|",name);
}
Код:
C:\Users\ExtremePower\Desktop\Lve\gamemodes\Untitled.pwn(65) : warning 205: redundant code: constant expression is zero Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 1 Warning.
can someone help me to fix this?