1 time string edit, everywhere changed!
#1

I can make a string with:
pawn Код:
new string[1024];
format(string, sizeof(string), "string");
so if i made it under the other 'new' stuff, something like this:
pawn Код:
new playerid[MAX_PLAYERS];
new string[1024];
format(string, sizeof(string), "lol");
and on connection i do this:
pawn Код:
public OnPlayerConnect(playerid)
{
    GameTextForPlayer(playerid,string,3000,4);
    SendClientMessage(playerid,COLOR_WHITE,string");
    return 1;
}
and everywhere else they just use 1 string,
how to make that?
Reply


Messages In This Thread
1 time string edit, everywhere changed! - by breakpaper - 23.11.2009, 14:46
Re: 1 time string edit, everywhere changed! - by arnutisz - 23.11.2009, 15:01
Re: 1 time string edit, everywhere changed! - by breakpaper - 23.11.2009, 15:03
Re: 1 time string edit, everywhere changed! - by FUNExtreme - 23.11.2009, 15:30

Forum Jump:


Users browsing this thread: 1 Guest(s)