#3

Код:
new string[128], pName[MAX_PLAYER_NAME]; // 1
GetPlayerName(playerid,pName,MAX_PLAYER_NAME);
format(string,sizeof(string)," %s has joined the server",pName); // 2
SendClientMessageToAll(-1,string);
1. String is way too big (I recommend 24 since an username can only be 24 chars long.)
2. Missed end quote and sizeof string = sizeof(string)
Reply


Messages In This Thread
Help - by Mijata - 25.01.2017, 14:34
Re: Help - by ThatFag - 25.01.2017, 15:02
Re: Help - by Codeah - 25.01.2017, 15:13
Re: Help - by Mijata - 25.01.2017, 15:30
Re: Help - by ThatFag - 25.01.2017, 15:31
Re: Help - by Mijata - 25.01.2017, 15:32
Re: Help - by ThatFag - 25.01.2017, 15:43
Re: Help - by Mijata - 25.01.2017, 15:45

Forum Jump:


Users browsing this thread: 1 Guest(s)