How to Combine These
#1

i want to combine these too
pawn Код:
new name[MAX_PLAYER_NAME+1], string[24+MAX_PLAYER_NAME+1];
    GetPlayerName(playerid, name, sizeof(name));
 
    format(string, sizeof(string), "%s has joined the server.", name);
    SendClientMessageToAll(0xC4C4C4FF, string);
And

pawn Код:
format(str, sizeof(str), "Another Player Has Registered Making This server has %i Player ", sInfo[accs]);
            SendClientMessage(playerid, COLOR_ORANGE, str);
so i get That
example

Blazing has registered making the server has total 5 players
Reply
#2

pawn Код:
new name[MAX_PLAYER_NAME+1], string[74];
GetPlayerName(playerid, name, sizeof(name));
format(string, sizeof(string), "%s has registered making the server has total %d players", name, sInfo[accs]);
SendClientMessageToAll(0xC4C4C4FF, string);
Might wanna fix the sentence a bit.
Код:
"%s has registered making him %d player on the server"
"Welcome to the server %s. You are %d. player to register"
-NOTE: change the string size accordingly.
Or something like that.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)