SA-MP Forums Archive
Disable things - 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: Disable things (/showthread.php?tid=106930)



Disable things - addysnow1 - 06.11.2009

Hello, this questions cant be difficult for the most people here, but i dont understand a fuck of it!
didn't find it somewere in the forum so I ask it!
how can i disable something like: nitro or whatever i want, I tried it with a Bool but everything it only works for me and not for the whole server!
how can I make something like a bool for the whole server!?
thanks...


Re: Disable things - miokie - 06.11.2009

pawn Код:
for(new i = 0; i < MAX_PLAYERS; i++ )
{
//Put the Bool Here and replace playerid with i
}
Example:
pawn Код:
for(new i = 0; i < MAX_PLAYERS; i++ )
{
GivePlayerMoney(i,500);
}
This gives all players $500.


Re: Disable things - addysnow1 - 07.11.2009

Thanks gonna look if it works!


Re: Disable things - addysnow1 - 07.11.2009

This good, but when ppl logging it get resseted for them, is there an easier way?
but thanks man I was looking for something like that a while!