little help
#1

Код HTML:
public OnPlayerConnect(playerid)
{   new pmess[256],IP[256], name[MAX_PLAYER_NAME];
 	GetPlayerName(playerid, name, sizeof(name));
    GetPlayerIp(playerid,IP,sizeof(IP));
    printf("%s has joined the server. Country: %s | IP Address: %s",name, GetPlayerCountryName(playerid),IP);
	format(pmess,sizeof(string), ""COL_RED"%s"COL_WHITE" has joined the server from "COL_RED"%s.", pName, GetPlayerCountryName(playerid));
    SendClientMessageToAll(-1, string);

    GameTextForPlayer(playerid, "~g~Welcome ~r~to ~p~Samp~y~Drifting ~b~Community", 5000, 6);
    return 1;
}
PHP код:
C:\Users\win7\Desktop\as.pwn(1822) : error 017undefined symbol "string"
C:\Users\win7\Desktop\as.pwn(1822) : error 029invalid expressionassumed zero
C
:\Users\win7\Desktop\as.pwn(1822) : warning 215expression has no effect
C
:\Users\win7\Desktop\as.pwn(1823) : error 017undefined symbol "string"
Pawn compiler 3.2.3664              Copyright (c1997-2006ITB CompuPhase
3 Errors

Reply


Messages In This Thread
little help - by SampAsia - 11.01.2015, 11:44
Re: little help - by Ironboy - 11.01.2015, 11:46
Re: little help - by lwilson - 11.01.2015, 12:08
Re: little help - by SampAsia - 11.01.2015, 12:10
Re: little help - by lwilson - 11.01.2015, 12:12
Re: little help - by Ironboy - 11.01.2015, 12:13
Re: little help - by mahdi499 - 11.01.2015, 12:13

Forum Jump:


Users browsing this thread: 1 Guest(s)