[HELP]Connection
#1

What we do wrong?

undefinied symbol pname...

Код:
public OnPlayerConnect(playerid)
{
    format(string, sizeof(string), "%s (ID: %d) has joined the server!", playerid, Pname);
    SendClientMessageToAll(-1, string);
    
    SendDeathMessage(INVALID_PLAYER_ID, playerid, 200);
	return 1;
}
Код:
stock PlayerName(playerid)
{
	new Pname[24];
	GetPlayerName(playerid, Pname, 24);
	return Pname;
}
Reply


Messages In This Thread
[HELP]Connection - by TheBluec0de - 16.08.2011, 22:26
Re: [HELP]Connection - by grand.Theft.Otto - 16.08.2011, 22:31
Re: [HELP]Connection - by TheBluec0de - 16.08.2011, 22:46
Re: [HELP]Connection - by Kush - 16.08.2011, 22:51
Re: [HELP]Connection - by grand.Theft.Otto - 16.08.2011, 22:56
Re: [HELP]Connection - by Badger(new) - 17.08.2011, 05:28
Re: [HELP]Connection - by MadeMan - 17.08.2011, 10:00

Forum Jump:


Users browsing this thread: 2 Guest(s)