SA-MP Forums

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

Reply
 
Thread Tools Display Modes
Old 15/06/2018, 04:59 PM   #11
GTLS
Gangsta
 
GTLS's Avatar
 
Join Date: Aug 2014
Location: India
Posts: 827
Reputation: 91
Default Re: Very large amx size

On which line did you face that error? It can not be on the name one because MAX_PLAYER_NAME is a macro with size 24 as SAMP doesnot allow names more than 24 characters. If its on that line, you can try MAX_PLAYER_NAME+1 or 25 as the size of the variable considering he NULL.
__________________

I don't help for rep. I help cuz I was helped in the past.


California State Roleplay - X Update Now under beta testing phase. Stay Tuned.
GTLS is offline   Reply With Quote
Old 15/06/2018, 05:58 PM   #12
CodeStyle175
Huge Clucker
 
CodeStyle175's Avatar
 
Join Date: Apr 2014
Posts: 470
Reputation: 35
Default Re: Very large amx size

you really don't need enum for furniture objects, you could just make connection between your gamemode and database and edit values in database, also you can search objects nearby and other things and gamemode would be small size.
with mysql r6 it would lag, but with newest mysql versions it doesnt lag.
CodeStyle175 is offline   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
Large amx size 3417512908 Scripting Help 1 28/05/2018 11:19 AM
'Large textdraw Size' kingZ7 Scripting Help 1 09/10/2016 04:07 PM
CMySQLQuery::Execute[] - (error #1118) Row size too large (> 8126) Banditukas Scripting Help 2 24/08/2015 03:49 PM
Header size, coder size, data size compiling warning Red_Dragon. Scripting Help 11 16/05/2013 11:58 AM
Large amx size Cypog Help Archive 11 16/09/2010 02:02 PM


All times are GMT. The time now is 11:23 PM.


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