30.03.2018, 17:58
So i tried to make when a player connect to say:
You registered: Lixyde, Password: <pass>, IP: <playerip>
But there is something wrong and i dont understand why is wrong.
It says that my is 50 ?? That's impossible, where is the problem?
Here is pic:
https://imgur.com/a/jaxra
Here is the code that i have:
Where is the problem? How to fix it?
You registered: Lixyde, Password: <pass>, IP: <playerip>
But there is something wrong and i dont understand why is wrong.
It says that my is 50 ?? That's impossible, where is the problem?
Here is pic:
https://imgur.com/a/jaxra
Here is the code that i have:
Код:
new Name[MAX_PLAYER_NAME]; new string[256]; new PlayerIP[16]; GetPlayerIp(playerid, PlayerIP, sizeof(PlayerIP)); GetPlayerName(playerid, Name, sizeof(Name)); format(string, sizeof(string), "SERVER: {FFFFFF}You registered: {FFE600}%s, {FFFFFF}Password: {FFE600}%s, {FFFFFF}IP: {FFE600}%d{FFFFFF}!", Name, inputtext, PlayerIP); SendClientMessage(playerid, COLOR_SYSTEM, string);