SA-MP Forums

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

Reply
 
Thread Tools Display Modes
Old 16/09/2019, 05:32 PM   #1
josh
Little Clucker
 
Join Date: Jul 2019
Posts: 19
Reputation: 0
Default define Unlimited number

how I can define Unlimited number?
josh is online now   Reply With Quote
Old 16/09/2019, 05:42 PM   #2
Plastikmensch
Huge Clucker
 
Join Date: Aug 2016
Posts: 275
Reputation: 22
Default Re: define Unlimited number

What...?
Why?
What for?

And you can't
Plastikmensch is offline   Reply With Quote
Old 16/09/2019, 06:15 PM   #3
NoteND
Big Clucker
 
Join Date: May 2016
Posts: 175
Reputation: 3
Default Re: define Unlimited number

This?

Quote:
#define INFINITY (Float:0x7F800000)
NoteND is online now   Reply With Quote
Old 16/09/2019, 06:23 PM   #4
josh
Little Clucker
 
Join Date: Jul 2019
Posts: 19
Reputation: 0
Default Re: define Unlimited number

Quote:
Originally Posted by NoteND View Post
This?
Crashed
josh is online now   Reply With Quote
Old 16/09/2019, 06:58 PM   #5
StevenLV
Big Clucker
 
StevenLV's Avatar
 
Join Date: Apr 2017
Location: Pakistan
Posts: 122
Reputation: 7
Default Re: define Unlimited number

What do you mean by Unlimited numbers? Ammo ?
__________________
Quote:
Originally Posted by Milton
/* Website developing and Designing at cheap rates, PM ME! */

/* Currently looking for staff / scripting helper! Hit me with a dm on Discord: Milton#0939 */
Quote:
Originally Posted by !damo!spiderman View Post
You're pathetic. Stand for something that's going to help the world rather than fill it with more hate. Give someone a hug, tell someone you care... Do something, do anything but do it with love not hate.
StevenLV is offline   Reply With Quote
Old 16/09/2019, 11:56 PM   #6
josh
Little Clucker
 
Join Date: Jul 2019
Posts: 19
Reputation: 0
Default Re: define Unlimited number

fixed
josh is online now   Reply With Quote
Old 18/09/2019, 07:57 AM   #7
MP2
Godfather
 
MP2's Avatar
 
Join Date: Jan 2011
Location: England
Posts: 6,219
Reputation: 976
Default Re: define Unlimited number

Not sure if this is helpful to mention but cellmax is a constant which represents the maximum value a PAWN variable can hold (2,147,483,647) and cellmin is the negative of that same value.

Example
pawn Code:
new example = cellmax;
__________________
Click banner above for more info. View trailers here.
Enter referral code SAMPFORUM after registering for a $5000 starting bonus!
MP2 is offline   Reply With Quote
Old 19/09/2019, 11:45 AM   #8
DaniceMcHarley
High-roller
 
DaniceMcHarley's Avatar
 
Join Date: Feb 2012
Posts: 1,744
Reputation: 95
Default Re: define Unlimited number

What do you want to do exactly?
DaniceMcHarley is offline   Reply With Quote
Old 19/09/2019, 04:49 PM   #9
Symon
Gangsta
 
Symon's Avatar
 
Join Date: Apr 2019
Location: Italy
Posts: 512
Reputation: 18
Default Re: define Unlimited number

I still don't understand what are you asking...
__________________


Discord | Play Now | Website

Add your server to favourites and join our Discord.
Symon 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
Unlimited number of houses,vehicles,etc. GospodinX Scripting Help 5 08/08/2018 09:36 AM
Question: Would using the same number with #define work? stormchaser206 Scripting Help 2 22/09/2014 11:22 PM
Is there a way to define color with number ? bustern Scripting Help 5 05/09/2013 12:27 PM
For what is the number after #define NAME ? bustern Scripting Help 3 23/08/2013 11:19 AM
How to Define all weapons ammo to Unlimited or Infinite? kbalor Scripting Help 1 12/08/2012 06:53 PM


All times are GMT. The time now is 04:33 PM.


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