View Single Post
Natsheh
Veteran Member
Join Date: Sep 2012
Old 11-16-2022 , 14:50   Re: Run time error 4: index out of bounds
Reply With Quote #3

PHP Code:
new Float:fPtime[MAX_PLAYERS]
new 
bool:buyed[MAX_PLAYERS


PHP Code:
new Float:fPtime[MAX_PLAYERS+1]
new 
bool:buyed[MAX_PLAYERS+1





@lexor
author already checking if the ent is a player

PHP Code:
public AddToFullPack(eseenthostflagsplayerset)
{
    if(!
player// Is it a non player entity ? return .... AKA IGNORE...
    
{
        return
    } 
__________________
@Jailbreak Main Mod v2.7.0 100%
@User Tag Prefix 100% done !
@Mystery Box 100% done !
@VIP System 100% done !


Last edited by Natsheh; 11-16-2022 at 14:53.
Natsheh is offline
Send a message via MSN to Natsheh Send a message via Skype™ to Natsheh