C:\Users\user\Documents\cnr\gamemodes\cnr.pwn(2172) : error 017: undefined symbol "pname" C:\Users\user\Documents\cnr\gamemodes\cnr.pwn(2172) : error 017: undefined symbol "pname" C:\Users\user\Documents\cnr\gamemodes\cnr.pwn(2172) : error 029: invalid expression, assumed zero C:\Users\user\Documents\cnr\gamemodes\cnr.pwn(2172) : fatal error 107: too many error messages on one line Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 4 Errors.
2172: GetPlayerName(playerid,pname,sizeof(pname)); format(string,sizeof(string),"%s(%d) Has joined %s v%s.",pname,playerid,svname,sversion); SendClientMessageToAll(COLOR_DEADCONNECT,string); format(string,sizeof(string),"6%s(%d) Has joined %s v%s.",pname,playerid,svname,sversion); IRC_Say(gGroupID,IRC_CHANNEL,string); SetPlayerColor(playerid,COLOR_DEADCONNECT);
new pname[MAX_PLAYER_NAME];
GetPlayerName(playerid, pname, sizeof(MAX_PLAYER_NAME));
Ah,
pawn Код:
|
new pname[MAX_PLAYER_NAME];
GetPlayerName(playerid, pname, sizeof(pname));
format(string,sizeof(string),"%s(%d) Has joined %s v%s.",pname,playerid,svname,sversion);
SendClientMessageToAll(COLOR_DEADCONNECT,string);
format(string,sizeof(string),"6%s(%d) Has joined %s v%s.",pname,playerid,svname,sversion);
IRC_Say(gGroupID,IRC_CHANNEL,string);
SetPlayerColor(playerid,COLOR_DEADCONNECT);
C:\Users\user\Documents\cnr\gamemodes\cnr.pwn(2174) : error 017: undefined symbol "string"
C:\Users\user\Documents\cnr\gamemodes\cnr.pwn(2174) : error 017: undefined symbol "string"
C:\Users\user\Documents\cnr\gamemodes\cnr.pwn(2174) : error 029: invalid expression, assumed zero
C:\Users\user\Documents\cnr\gamemodes\cnr.pwn(2174) : 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.
format(string,sizeof(string),"%s(%d) Has joined %s v%s.",pname,playerid,svname,sversion);
new pname[MAX_PLAYER_NAME], string[128+MAX_PLAYER_NAME];
GetPlayerName(playerid, pname, sizeof(pname));
format(string,sizeof(string),"%s(%d) Has joined %s v%s.",pname,playerid,svname,sversion);
SendClientMessageToAll(COLOR_DEADCONNECT,string);
format(string,sizeof(string),"6%s(%d) Has joined %s v%s.",pname,playerid,svname,sversion);
IRC_Say(gGroupID,IRC_CHANNEL,string);
SetPlayerColor(playerid,COLOR_DEADCONNECT);