08.01.2010, 20:57
Can somene show me how to save a variable
? I have read the dracoblue tutorial but not fully understood... can somene give an example
e.g: new tour[MAX_PLAYERS];

e.g: new tour[MAX_PLAYERS];
Originally Posted by tour15
Can somene show me how to save a variable
![]() e.g: new tour[MAX_PLAYERS]; |
Originally Posted by tour15
hmm realy thank you but i need some info more... will this save the variable if it's 1 or 0??
|
Originally Posted by tour15
and where do i paste this?
|
//at player spawn
tour[playerid] = dUserINT(Player Name Here).("Tour");
// at tutorial start
if(tour[playerid] = 0)
{
//start tutorial
}
else
{
//skip tutorial
}
Originally Posted by tour15
and where do i paste this?
|