Variables not changing
#3

Or.. you know, you could go with the obvious and easier way which is also more optimized.
PHP код:
CMD:sellinfo(playeridparams[]) 

    
houseselling[playerid] =  housesellingsql[playerid] = houseseller[playerid] = housesellerpid[playerid] = -1
    
SendClientMessageFormatted(playerid, -1"houseselling: %i, housesql: %i, houseseller: %i pid: %i"houseselling[playerid], housesellingsql[playerid], houseseller[playerid], housesellerpid[playerid]); 
    return 
1

Wanna keep it still readable?
PHP код:
CMD:sellinfo(playeridparams[]) 

    
houseselling[playerid] =  
    
housesellingsql[playerid] = 
    
houseseller[playerid] = 
    
housesellerpid[playerid] = -1
    
SendClientMessageFormatted(playerid, -1"houseselling: %i, housesql: %i, houseseller: %i pid: %i"houseselling[playerid], housesellingsql[playerid], houseseller[playerid], housesellerpid[playerid]); 
    return 
1

Reply


Messages In This Thread
Variables not changing - by JaydenJason - 18.02.2017, 15:28
Re: Variables not changing - by JesterlJoker - 18.02.2017, 15:41
Re: Variables not changing - by PrO.GameR - 18.02.2017, 16:45
Re: Variables not changing - by JaydenJason - 19.02.2017, 10:49
Re: Variables not changing - by Unte99 - 19.02.2017, 10:58

Forum Jump:


Users browsing this thread: 1 Guest(s)