SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Scripting Help > Discussion

Reply
 
Thread Tools Display Modes
Old 24/10/2015, 07:35 PM   #1
uZ1
Banned
 
Join Date: Oct 2008
Posts: 33
Reputation: 4
Default About PVar limits

SA-MP wiki says the limit of PVars are 800.
800 per player (800*1000 = 800000) or 800 altogether?
uZ1 is offline   Reply With Quote
Old 24/10/2015, 08:04 PM   #2
StreetRP
Big Clucker
 
StreetRP's Avatar
 
Join Date: Apr 2013
Posts: 178
Reputation: 27
Default Re : About PVar limits

is 800 per player
StreetRP is offline   Reply With Quote
Old 24/10/2015, 09:44 PM   #3
Pottus
High-roller
 
Pottus's Avatar
 
Join Date: Jun 2012
Posts: 4,833
Reputation: 1292
Default Re: About PVar limits

If you are worried about PVar limit then you are scripting wrong.
Pottus is online now   Reply With Quote
Old 24/10/2015, 09:57 PM   #4
Ahmad45123
Gangsta
 
Ahmad45123's Avatar
 
Join Date: Oct 2013
Location: Egypt
Posts: 828
Reputation: 187
Default Re: About PVar limits

800 per player.

And this should have been in the scripting help forum.
__________________

ExtremeStudio

The Best SAMP IDE.
Ahmad45123 is offline   Reply With Quote
Old 24/10/2015, 10:16 PM   #5
uZ1
Banned
 
Join Date: Oct 2008
Posts: 33
Reputation: 4
Default Re: About PVar limits

Thanks for the answers.
Quote:
Originally Posted by Pottus View Post
If you are worried about PVar limit then you are scripting wrong.
Not really. I was only interested to know the limits, nothing more.

Quote:
Originally Posted by Ahmad45123 View Post
800 per player.

And this should have been in the scripting help forum.
I think I'm right here in the "Discussion" category about SA-MP's limits.
uZ1 is offline   Reply With Quote
Old 24/10/2015, 11:25 PM   #6
Gigi-The-Beast
Huge Clucker
 
Join Date: Jan 2010
Posts: 223
Reputation: 25
Default Re: About PVar limits

Here you have all the samp limits, including PVars : http://wiki.sa-mp.com/wiki/Limits
Gigi-The-Beast is offline   Reply With Quote
Old 30/10/2015, 07:40 PM   #7
Macluawn
Gangsta
 
Macluawn's Avatar
 
Join Date: Aug 2010
Location: Latvia
Posts: 613
Reputation: 78
Default Re: About PVar limits

Quote:
Originally Posted by Pottus View Post
If you are worried about PVar limit then you are scripting wrong.
If you`re not at least curious of PVar limits, your codebase is too small to insult others.
Macluawn is offline   Reply With Quote
Old 30/10/2015, 10:33 PM   #8
Crayder
Banned
 
Join Date: Sep 2013
Location: Flames of Hell
Posts: 3,331
Reputation: 652
Default Re: About PVar limits

Quote:
Originally Posted by Macluawn View Post
If you`re not at least curious of PVar limits, your codebase is too small to insult others.
No, Pottus is right. You should never need many PVar's, there only real use that makes sense is variables across filterscripts and gamemodes. If you are defending the use of 800 (or even more than 20) PVar's you clearly have a lot to learn.
Crayder is offline   Reply With Quote
Old 30/10/2015, 11:39 PM   #9
[ABK]Antonio
High-roller
 
[ABK]Antonio's Avatar
 
Join Date: Sep 2011
Location: ID, USA
Posts: 1,224
Reputation: 185
Default Re: About PVar limits

Quote:
Originally Posted by Crayder View Post
No, Pottus is right. You should never need many PVar's, there only real use that makes sense is variables across filterscripts and gamemodes. If you are defending the use of 800 (or even more than 20) PVar's you clearly have a lot to learn.
No, questioning the limits isn't a bad thing. Just because you aren't going to use that many, doesn't mean you shouldn't know how many you can use. That's just bad practice. If you use even one, you should know how many you can use.
__________________

ABKClan.com
[ABK]Antonio is offline   Reply With Quote
Old 31/10/2015, 10:25 PM   #10
Pottus
High-roller
 
Pottus's Avatar
 
Join Date: Jun 2012
Posts: 4,833
Reputation: 1292
Default Re: About PVar limits

Quote:
Originally Posted by Crayder View Post
No, Pottus is right. You should never need many PVar's, there only real use that makes sense is variables across filterscripts and gamemodes. If you are defending the use of 800 (or even more than 20) PVar's you clearly have a lot to learn.
I would say that having to set/get them would be more intensive than CallRemoteFunction() as your script would become littered with them just for the sake of cross script variable access.
Pottus is online now   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[FilterScript] |Limits| ~~> Speedometer <~~ |Limits| AmericanStyle'™ Lançamentos/Releases 41 11/12/2012 04:39 PM
[FilterScript] |Limits| Rc Battle Command |Limits| MagneticLove- Filterscripts 2 11/03/2012 12:27 AM
Limits help? http://wiki.sa-mp.com/wiki/Limits Kar General 2 26/08/2011 12:36 PM
PVar limits? Tronix Help Archive 2 28/12/2010 11:01 AM


All times are GMT. The time now is 01:40 AM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.