About "cellmax"
#1

Hello guys.

Yesterday I found system DM arena. There is a function:
PHP код:
GivePlayerWeapon(playerid26cellmax); 
As I understand it, cellmax in this function - infinite ammo. But when I shared this system in a Russian forum with my friends, they said "cellmax - in this function it's bad, for infinite ammo is better the number than 10998"

Why number than 10998 better "cellmax"?

Sorry for my English
Reply
#2

That seems completely arbitrary. Perhaps it's the number at which the digits disappear from the HUD but if you shoot long enough those numbers will eventually reappear. GTA uses DWORD internally to store ammo so the maximum is 2.1 billion something, something, i.e. cellmax.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)