[Tutorial] Resetting of Variables
#7

You forgot to mention how to reset a string.

STRING:
PHP Code:
new string[64];
format(string64"Vacant");
OnPlayerConnect(playerid)
{
    
string EOS
    or
    
string '\0';

VARIABLE
PHP Code:
new var;
var = 
50;
OnPlayerConnect(playerid)
{
    var = 
0;

Reply


Messages In This Thread
Resetting of Variables - by AlonzoTorres - 03.03.2014, 18:31
Re: Resetting of Variables - by Macluawn - 03.03.2014, 21:20
Re: Resetting of Variables - by AlonzoTorres - 03.03.2014, 23:00
Re: Resetting of Variables - by Luis- - 06.03.2014, 07:53
Re: Resetting of Variables - by AlonzoTorres - 06.03.2014, 08:02
Re: Resetting of Variables - by Luis- - 06.03.2014, 12:22
Re: Resetting of Variables - by CrazyFrenzy - 06.03.2014, 12:52
Re: Resetting of Variables - by Misiur - 06.03.2014, 13:43
Re: Resetting of Variables - by ColeMiner - 06.03.2014, 16:45
Re: Resetting of Variables - by CrazyFrenzy - 07.03.2014, 07:27
Re: Resetting of Variables - by Luis- - 07.03.2014, 11:24
Re: Resetting of Variables - by DandyCorleone - 01.01.2017, 00:38
Re: Resetting of Variables - by SickAttack - 01.01.2017, 04:42

Forum Jump:


Users browsing this thread: 1 Guest(s)