14.04.2012, 23:27
I really Can't Understand the Variables
? I Read WIKI many times and I can't understand It at all!!
please Describe it to me please

please Describe it to me please

new variable;
public OnPlayerConnect(playerid)
{
variable = 0;
return 1;
}
public OnPlayerSpawn(playerid)
{
if(variable == 0)
{
printf("variable is 0");
variable = 1;
}
else
{
printf("variable is 1");
}
return 1;
}
new var;
var = 1;
printf("var is %i", var);
new array[5];
array[0] = 1;
array[1] = 5;
array[2] = 28;
array[3] = 85;
array[4] = 69;