[Include] Stocks - 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] Stocks (
/showthread.php?tid=282290)
Stocks -
Darnell - 10.09.2011
Stocks
This include, has a few stocks, not pretty much usefull, but maybe they are for beginners.
I will not update it unless I get suggestions to add / update.
Natives
pawn Код:
// Countdown natives
native CreateCountdown(time, sound);
native CreatePlayerCountdown(playerid, time, sound);
native StopCountdown();
native StopPlayerCountdown(playerid);
// Pocket money natives
native EnablePocketMoney(amount, frequency);
native DisablePocketMoney();
native SetPocketMoneyAmount(amount);
native SetPocketMoneyFrequency(frequency);
native TogglePocketMoneyMessage(toggle);
// Random spawn natives
native AddSpawnPos(Float:X, Float:Y, Float:Z, Float:Angle, Interior, VirtualWorld);
native RandomSpawnPlayer(playerid);
// Other random natives
native SkydivePlayer(playerid, hight);
native Cardive(carid, hight);
native FlipCar(carid);
native ResprayCar(carid);
native SavePlayerPos(playerid);
native LoadPlayerPos(playerid);
// Get team player number native
GetPlayersInTeamFromMaxPlayers(teamid); //( NEW ! [ v1.1] )
Pastebin
Re: Stocks -
Speed - 10.09.2011
i gonna use it ty for this
Re: Stocks -
Darnell - 10.09.2011
No problem

.
Re: Stocks -
Kaperstone - 10.09.2011
nice

thanks,will use
Re: Stocks -
Darnell - 10.09.2011
No problem, thank you.
Re: Stocks -
wups - 10.09.2011
Suggestion:
new id =AddSpawnPos(Float:X, Float:Y, Float:Z, Float:Angle, Interior, VirtualWorld);
native SpawnPlayerEx(playerid,id);
Re: Stocks -
Darnell - 10.09.2011
Quote:
Originally Posted by wups
Suggestion:
new id =AddSpawnPos(Float:X, Float:Y, Float:Z, Float:Angle, Interior, VirtualWorld);
native SpawnPlayerEx(playerid,id);
|
What do you mean, SpawnPlayerEx ? like, /sendto[ls/sf/lv] for example, or TP ID to ID ?
Re: Stocks -
Kaperstone - 10.09.2011
nvm...
Re: Stocks -
wups - 10.09.2011
Quote:
Originally Posted by xkirill
read before you post a reply:
|
Lol what? It says "it will not update UNLESS he gets suggestions."
Re: Stocks -
Darnell - 10.09.2011
Quote:
Originally Posted by wups
Lol what? It says "it will not update UNLESS he gets suggestions."
|
Explain what you ment on SpawnPlayerEx, didn't really understand it.
Thanks everyone above though.