SA-MP Forums Archive
[Include] KInclude.inc - 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: Filterscripts (https://sampforum.blast.hk/forumdisplay.php?fid=17)
+---- Forum: Includes (https://sampforum.blast.hk/forumdisplay.php?fid=83)
+---- Thread: [Include] KInclude.inc (/showthread.php?tid=369587)



KInclude.inc - KillamanITA - 17.08.2012

Hello, i'm Killaman, an Italian Scripter. Today i present my SA:MP include. Of course will be updated with the passing of time.

Save the code in .inc format and add on top of your Script:
Код:
#include <KInclude>
Functions v1.0:
Код:
SetPlayerPosEx(playerid, Float:x, Float:y, Float:z, Interior, VirtualWorld); - Ex: SetPlayerPosEx(playerid, 3.0, 4.0, 5.0, 0, 0);
ClearChatForPlayer(playerid, Lines); - Ex: ClearChatForPlayer(playerid, 16);
ClearChatForAll(Lines); - Ex: ClearChatForAll(30);
PlayAudioStreamForAll(url[]); - Ex: PlayAudioStreamForAll("http://lololol.com/song.mp3/);
StopAudioStreamForAll(playerid); - StopAudioStreamForAll();
Pastebin v1.0:
Код:
http://pastebin.com/1tdSADVA
Good luck, +1 rep please



Re: KInclude - Hack4it - 17.08.2012

Good Job


Re: KInclude.inc - KillamanITA - 17.08.2012

Thanks Man


Re: KInclude.inc - SuperViper - 17.08.2012

Why does StopAudioStreamForAll have a playerid parameter?


Re: KInclude.inc - FireCat - 17.08.2012

GotoPlayer(playerid, Float, Float:y, Float:z, Interior, VirtualWorld);
WTF
Shouldnt it be
GotoPlayer(playerid,id);

Otherwise just set it to SetPlayerPos, as you still need to get the coords...


Re: KInclude.inc - KillamanITA - 18.08.2012

I did not have original names xD anyway this function will change in the next version, @ SuperViper the parameter is wrong but will be removed


Re: KInclude.inc - KillamanITA - 18.08.2012

EDIT: New Version


Re: KInclude.inc - Kaperstone - 18.08.2012

Don't double post,
and nice include.


Re: KInclude.inc - raider19rus - 19.08.2012

Not bad.