12.05.2014, 00:31
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);
pawn Код:
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.
pawn Код:
format(string,sizeof(string),"%s(%d) Has joined %s v%s.",pname,playerid,svname,sversion);