[HELP]PlayCrimeReportForPlayer
#1

Hello everyone, I have this function in OnPlayerDisconnect, that when the player is kicked / banned is that normally with rcon or in any other way you activate this feature, only wrong in the selection of the skin class how do I fix?

Код:
if (reason == 2) PlayCrimeReportForPlayer(playerid, playerid, 3);
Reply
#2

some help please ?
Reply
#3

Please tell us more informations about whats your problem on this one.
Reply
#4

and that the problem: when a player and in the selection of the skin class, when you get kicked or banned them in any type of function does not work so I put in the "code"
Reply
#5

some help ?
Reply
#6

First: dont bumb your thread please

Show me your OnPlayerDisconnect and the fuction PlayCrimeReportForPlayer
Reply
#7

that almost makes you feel and function to a sound player
Reply
#8

Post here your OnPlayerDisconnect and the function PlayCrimeRerortForPlayer so i can help you.
Reply
#9

the one and only function in there onplayerdisconnect there more! must make the sound of the police that the player is kicked / banned in any way, except that if you kicked or banned in selecting the class of the sound skin does not feel all here. so how can I do?
Reply
#10

Код:
public OnPlayerDisconnect(playerid, reason)
{
    GetPlayerName(playerid, Nome[playerid], 24);
    switch(reason)
    {
        case 0: format(stringa, sizeof stringa, "%s и uscito da Italian Las Venturas (Crash)", Nome[playerid]);
        case 1: format(stringa, sizeof stringa, "%s и uscito da Italian Las Venturas", Nome[playerid]);
        case 2: format(stringa, sizeof stringa, "%s и uscito da Italian Las Venturas (Kickato/Bannato)", Nome[playerid]);
    }
    SendClientMessageToAll(-1, stringa);
    //
    if (reason == 2) PlayCrimeReportForPlayer(playerid, playerid, 3);
	return 1;
}
Reply
#11

EDIT: nvm it you alraedy posted it.
Reply
#12

What ??!
Reply
#13

pawn Код:
public OnPlayerDisconnect(playerid, reason)
{
    GetPlayerName(playerid, Nome[playerid], 24);
    switch(reason)
    {
        case 0: format(stringa, sizeof stringa, "%s e` uscito da Italian Las Venturas (Crash)", Nome[playerid]);
        case 1: format(stringa, sizeof stringa, "%s e` uscito da Italian Las Venturas", Nome[playerid]);
        case 2:
        {
            format(stringa, sizeof stringa, "%s e` uscito da Italian Las Venturas (Kickato/Bannato)", Nome[playerid]);
            PlayCrimeReportForPlayer(playerid, playerid, 3);
        }
    }
    SendClientMessageToAll(-1, stringa);
    return 1;
}
Now post here your function PlayCrimeReportForPlayer
Reply
#14

does not change .. class in the selection of skins you do not hear anyway.
Reply
#15

I think no one cant help you since you cant explain what is your problem, i cant even read what you are saying better talk on your language and i will ****** translate it.
Reply
#16

non si sente il suono se il player viene kickato o bannato nella selezione classe delle skin.
Reply
#17

I understand now you want to create something when a player get kicked / banned to sound something ?
Reply
#18

si vorrei che si sentisse il suono di quella funzione anche quando il player viene kickato/bannato nella selezione classe skin.
Reply
#19

Si desidera ascoltare il suono o il giocatore che viene cacciato / bloccati, e perchй sulla selezione della classe?

EDIT: Better PM me because ... it will take much time.
Reply
#20

perche e giusto che si sente anche li o no ?
Reply


Forum Jump:


Users browsing this thread: 5 Guest(s)