11.11.2010, 15:24
Is this possible?
And in use
GetName(playerid);
I get this errors
can someone fix macro ?
pawn Код:
#define GetName(%1) new name[MAX_PLAYER_NAME]; GetPlayerName(%1, name, MAX_PLAYER_NAME); return name
GetName(playerid);
I get this errors
pawn Код:
C:\Users\ExtremePower\Desktop\Lve\gamemodes\adrenaline.pwn(1897) : error 029: invalid expression, assumed zero
C:\Users\ExtremePower\Desktop\Lve\gamemodes\adrenaline.pwn(1897) : error 017: undefined symbol "name"
C:\Users\ExtremePower\Desktop\Lve\gamemodes\adrenaline.pwn(1897) : warning 215: expression has no effect
C:\Users\ExtremePower\Desktop\Lve\gamemodes\adrenaline.pwn(1897) : error 001: expected token: ";", but found "]"
C:\Users\ExtremePower\Desktop\Lve\gamemodes\adrenaline.pwn(1897) : fatal error 107: too many error messages on one line
Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
4 Errors.