07.01.2010, 02:33
Hey
Can someone tell me whats wrong with this code, it only says that someone has been kicked not their name. For example it says "Has been kicked" but it should say "Sampiscool123 has been kicked"
Code:
Can someone tell me whats wrong with this code, it only says that someone has been kicked not their name. For example it says "Has been kicked" but it should say "Sampiscool123 has been kicked"
Code:
Код:
if(dialogid == 11) { if(response) { SendClientMessage(playerid,0xE60000FF, "You chose Not to follow our rules, Therefore you got kicked!"); Kick(playerid); new pname[MAX_PLAYER_NAME], string[39 + MAX_PLAYER_NAME]; GetPlayerName(playerid, pname, sizeof(pname)); { format(string, sizeof(string), "%s has left the server. (Kicked)", pname); } SendClientMessageToAll(0xAAAAAAAA, string); } else { SendClientMessage(playerid, 0xFFFF00FF, "Have fun); } return 1; }