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
Big Clucker
 
Join Date: Jul 2019
Posts: 73
Reputation: 3
Default define Unlimited number

how I can define Unlimited number?
josh is offline   Reply With Quote
Old 16/09/2019, 05:42 PM   #2
Plastikmensch
Huge Clucker
 
Join Date: Aug 2016
Posts: 272
Reputation: 27
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
Huge Clucker
 
Join Date: May 2016
Posts: 252
Reputation: 5
Default Re: define Unlimited number

This?

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

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

What do you mean by Unlimited numbers? Ammo ?
__________________
Quote:
Eternal Life Roleplay - An upcoming unique RP server based in Palomino Creek
https://discord.gg/JWzE78r
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
Big Clucker
 
Join Date: Jul 2019
Posts: 73
Reputation: 3
Default Re: define Unlimited number

fixed
josh is offline   Reply With Quote
Old 18/09/2019, 07:57 AM   #7
MP2
Godfather
 
MP2's Avatar
 
Join Date: Jan 2011
Location: England
Posts: 6,235
Reputation: 1004
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;
__________________
Owner and developer of Mike's Cops and Robbers.

Click here to visit our site and find out more. Click here to view trailers.
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
Beckett
High-roller
 
Beckett's Avatar
 
Join Date: Feb 2012
Location: www.finalnights-rp.com
Posts: 1,794
Reputation: 104
Default Re: define Unlimited number

What do you want to do exactly?
__________________
Final Nights Roleplay
The first SA-MP server that is not regulated by administrators.
No OOC hierarchy. Strictly directed by players. Utopian vision.

El primer servidor SA-MP que no está regulado por los administradores.
Sin jerarquías OOC. Estrictamente dirigido por jugadores. Visión utópica.

Primul server de SA-MP care nu este regulat de administratori.
Fără ierarhie OOC. Strict dictat de jucători. Visiune utopică.

Yöneticiler tarafından düzenlenmeyen ilk SA-MP sunucusu.
OOC hiyerarşisi yok. Kesinlikle oyuncular tarafından yönetiliyor. Ütopik görme.


Become a Member of our Discord Channel
Beckett 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: 884
Reputation: 85
Default Re: define Unlimited number

I still don't understand what are you asking...
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 07:05 AM.


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