How do i set the value of a string to null
#2

Why would you divide that by 0? just set it to 0?

E.G:

pawn Код:
public OnPlayerDisconnect(playerid, reason)
{
   PlayerInfo[playerid][PlayerName] = "None" or 0
   PlayerInfo[playerid][IP] = "None" or 0
}
Why wouldn't you do that?
Reply


Messages In This Thread
How do i set the value of a string to null - by Xtreme Brotherz - 13.05.2014, 07:38
Re: How do i set the value of a string to null - by DaniceMcHarley - 13.05.2014, 07:42
Re: How do i set the value of a string to null - by Xtreme Brotherz - 13.05.2014, 07:43
Re: How do i set the value of a string to null - by DaniceMcHarley - 13.05.2014, 07:44

Forum Jump:


Users browsing this thread: 1 Guest(s)