How to make a stock with input - 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)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: How to make a stock with input (
/showthread.php?tid=143921)
How to make a stock with input -
IamNotKoolllll - 24.04.2010
i sorta need a small tut posted here
Re: How to make a stock with input -
Hiddos - 24.04.2010
pawn Код:
stock Function(input)
{
//Do w/e you want with your input,
Kill(input);
Ban(input);
//etc.
return 1;
}
Re: How to make a stock with input -
IamNotKoolllll - 24.04.2010
Quote:
Originally Posted by Hiddos
pawn Код:
stock Function(input) { //Do w/e you want with your input, Kill(input); Ban(input); //etc. return 1; }
|
how about output :O
Re: How to make a stock with input -
Nero_3D - 24.04.2010
pawn Код:
stock Function()
{
new output = 5; //for more articulateness
return output;
}
done...
Re: How to make a stock with input -
IamNotKoolllll - 24.04.2010
Quote:
Originally Posted by ♣ Joker ♠
pawn Код:
stock Function() { new output = 5; return output; }
done...
|
ty ^_^