Whats better , static or new ?
#1

Hey,
Whats better for sending format messages (SendClientMessage) .

static or new ?

I understand that static value will forgotten after the code was done.
like :

Code:
if(dialogid == DIALOG_Login)
{
	static string[MAX_PLAYER_NAME];
	format(string, sizeof(string),"%s",GetName(playerid));
	SendClientMessageToAll(-1,string);
}
Reply


Messages In This Thread
Whats better , static or new ? - by sKgaL - 15.07.2013, 12:08
Re: What better , static or new ? - by sKgaL - 15.07.2013, 12:14
Re: Whats better , static or new ? - by sKgaL - 15.07.2013, 12:20

Forum Jump:


Users browsing this thread: 1 Guest(s)