28.01.2018, 17:37
Quote:
|
Код:
new name[MAX_PLAYER][MAX_PLAYER_NAME];
GetPlayerName(playerid, name[playerid], MAX_PLAYER_NAME);
format(string, sizeof(string), "{ffff66}(INFO) %s (ID %d) has joined the server", name, playerid);
SendClientMessageToAll(-1, string);
|
Код:
C:\Users\Wallen\Desktop\Los Santos DeathMatch\gamemodes\DBv1.pwn(722) : error 017: undefined symbol "MAX_PLAYER" C:\Users\Wallen\Desktop\Los Santos DeathMatch\gamemodes\DBv1.pwn(722) : error 036: empty statement C:\Users\Wallen\Desktop\Los Santos DeathMatch\gamemodes\DBv1.pwn(723) : error 017: undefined symbol "name" C:\Users\Wallen\Desktop\Los Santos DeathMatch\gamemodes\DBv1.pwn(723) : warning 215: expression has no effect C:\Users\Wallen\Desktop\Los Santos DeathMatch\gamemodes\DBv1.pwn(723) : error 001: expected token: ";", but found "]" C:\Users\Wallen\Desktop\Los Santos DeathMatch\gamemodes\DBv1.pwn(723) : error 029: invalid expression, assumed zero C:\Users\Wallen\Desktop\Los Santos DeathMatch\gamemodes\DBv1.pwn(723) : fatal error 107: too many error messages on one line Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 6 Errors.


