Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // By Shepher & The Rev'
- else if(strncmp(comando, "kick", 4) == 0)
- {
- if(!(tmp2 = strtok(comando2, " ")))
- {
- SendClientMsg(clientid, "Digite o personagem");
- return;
- }
- char nick[12];
- sscanf(comando, "kick %s", &nick);
- int user = GetUserByName(nick);
- if(user == 0)
- {
- SendClientMsg(clientid, "Personagem não está online!");
- return;
- }
- else
- {
- CloseUser(user);
- sprintf(tmp, "Usuário %s kickado! ClientID: %d", nick, user);
- SendClientMsg(clientid, tmp);
- return;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment