[HELP]PlayCrimeReportForPlayer -
TheBluec0de - 30.07.2011
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);
Re: [HELP]PlayCrimeReportForPlayer -
TheBluec0de - 30.07.2011
some help please ?
Re: [HELP]PlayCrimeReportForPlayer -
WoodPecker - 30.07.2011
Please tell us more informations about whats your problem on this one.
Re: [HELP]PlayCrimeReportForPlayer -
TheBluec0de - 30.07.2011
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"
Re: [HELP]PlayCrimeReportForPlayer -
TheBluec0de - 30.07.2011
some help ?
Re: [HELP]PlayCrimeReportForPlayer -
WoodPecker - 30.07.2011
First: dont bumb your thread please
Show me your OnPlayerDisconnect and the fuction PlayCrimeReportForPlayer
Re: [HELP]PlayCrimeReportForPlayer -
TheBluec0de - 30.07.2011
that almost makes you feel and function to a sound player
Re: [HELP]PlayCrimeReportForPlayer -
WoodPecker - 30.07.2011
Post here your OnPlayerDisconnect and the function PlayCrimeRerortForPlayer so i can help you.
Re: [HELP]PlayCrimeReportForPlayer -
TheBluec0de - 30.07.2011
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?
Re: [HELP]PlayCrimeReportForPlayer -
TheBluec0de - 30.07.2011
Код:
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;
}
Re: [HELP]PlayCrimeReportForPlayer -
WoodPecker - 30.07.2011
EDIT: nvm it you alraedy posted it.
Re: [HELP]PlayCrimeReportForPlayer -
TheBluec0de - 30.07.2011
What ??!
Re: [HELP]PlayCrimeReportForPlayer -
WoodPecker - 30.07.2011
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
Re: [HELP]PlayCrimeReportForPlayer -
TheBluec0de - 30.07.2011
does not change .. class in the selection of skins you do not hear anyway.
Re: [HELP]PlayCrimeReportForPlayer -
WoodPecker - 30.07.2011
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.
Re: [HELP]PlayCrimeReportForPlayer -
TheBluec0de - 30.07.2011
non si sente il suono se il player viene kickato o bannato nella selezione classe delle skin.
Re: [HELP]PlayCrimeReportForPlayer -
WoodPecker - 30.07.2011
I understand now you want to create something when a player get kicked / banned to sound something ?
Re: [HELP]PlayCrimeReportForPlayer -
TheBluec0de - 30.07.2011
si vorrei che si sentisse il suono di quella funzione anche quando il player viene kickato/bannato nella selezione classe skin.
Re: [HELP]PlayCrimeReportForPlayer -
WoodPecker - 30.07.2011
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.
Re: [HELP]PlayCrimeReportForPlayer -
TheBluec0de - 30.07.2011
perche e giusto che si sente anche li o no ?