format(string, sizeof(string), "{00FF00}Successfully logged in! {FFFFFF}Welcome back to LS{FF0000}GL{FFFFFF} %s. We hope you enjoy your stay!{FFFF00} (Last Login: %s ago)", name, ReturnTimelapse(eUser[playerid][e_USER_LASTLOGIN_TIMESTAMP], gettime())); SendClientMessage(playerid, -1, string);
format(string, sizeof(string), "Successfully logged in! Welcome back to LSGL %s. We hope you enjoy your stay!(Last Login: %s ago)", name, ReturnTimelapse(eUser[playerid][e_USER_LASTLOGIN_TIMESTAMP], gettime())); SendClientMessage(playerid, -1, string);
If a message is longer than 144 characters, it will not be sent. Truncation can be used to prevent this. Displaying a message on multiple lines will also solve this issue. |
format(string, sizeof(string), "{00FF00}Successfully ... SendClientMessage(playerid, -1, string);
format(string, sizeof(string), "Successfully ... SendClientMessage(playerid, 0x00FF00FF, string);