SA-MP Forums Archive
Help quick please with <won't send the message>. - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Help quick please with <won't send the message>. (/showthread.php?tid=430822)



Help quick please with <won't send the message>. - Luca12 - 15.04.2013

So I have this problem

When you take out a member from the organization does not want to send him a message that the code is thrown here

Quote:

new id = GetPlayerID(FBIInfo[broj][Mesto]);
if(IsPlayerConnected(id) && PlayerInfo[id][Clan] == PlayerInfo[playerid][Clan])
{
PlayerInfo[id][Lider] = 0;
PlayerInfo[id][Clan] = 0;
PlayerInfo[id][pRank] = 0;
PlayerInfo[id][TimUgovor] = 0;
PlayerInfo[id][KaznaUgovor] = 0;
PlayerInfo[id][pChar] = 0;
SetPlayerSkin(id, 23);
SCM(id, SVETLOPLAVA, "Izbaceni ste iz svoje organizacije");
}




Re: Help quick please with <won't send the message>. - park4bmx - 15.04.2013

Show your SCM then!!
How we supost to know how you mest up the function ?


Re: Help quick please with <won't send the message>. - RandomDude - 15.04.2013

Quote:
Originally Posted by park4bmx
Посмотреть сообщение
Show your SCM then!!
How we supost to know how you mest up the function ?
^^ You need to show the SCM.


Re: Help quick please with <won't send the message>. - Luca12 - 15.04.2013

I thing that is problem in the function stock GetPlayerID beacuse I have the same problem with one more cmd and I fix it but I don't know why that won't work here If you know what I mean.


Re : Help quick please with <won't send the message>. - Rayan_black - 15.04.2013

Maybe you didn't define SCM correctly? show us the line of SCM.


Re: Help quick please with <won't send the message>. - Luca12 - 15.04.2013

it's not SCM it's something about GetPlayerID