[Include] KInclude.inc
#1

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:
Good luck, +1 rep please
Reply
#2

Good Job
Reply
#3

Thanks Man
Reply
#4

Why does StopAudioStreamForAll have a playerid parameter?
Reply
#5

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...
Reply
#6

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
Reply
#7

EDIT: New Version
Reply
#8

Don't double post,
and nice include.
Reply
#9

Not bad.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)