04.01.2015, 14:29
PHP код:
public OnPlayerConnect(playerid)
{
new mess[256],pmess[256],IP[256];
GetPlayerIp(playerid,IP,sizeof(IP));
format(mess,sizeof(mess),"%s has joined the server. Country: %s | IP Address: %s",GetPName(playerid),GetPlayerCountryName(playerid),IP);
printf(mess);
format(pmess,sizeof(pmess),"%s has joined the server from %s.",GetPName
SendClientMessageToAll(COLOR_GREY, string);
Код HTML:
These r Errors: D:\IGC Build 01\samp 2.0 update\gamemodes\BUILD 01.pwn(1816) : error 017: undefined symbol "GetPName" D:\IGC Build 01\samp 2.0 update\gamemodes\BUILD 01.pwn(1818) : error 017: undefined symbol "GetPName" D:\IGC Build 01\samp 2.0 update\gamemodes\BUILD 01.pwn(1819) : error 017: undefined symbol "string" Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase