07.12.2012, 03:14
PHP код:
//Topo do gm
new VarBlock[ MAX_PLAYERS ];
public OnPlayerConnect( playerid )
{
VarBlock[ playreid ] = true;
return true;
}
public OnPlayerText( playerid, text[] )
{
switch( VarBlock[ playreid ] )
{
case 0: return true;
case 1: return false;
}
return false;
}
public OnPlayerSpawn( playerid )
{
VarBlock[ playreid ] = true;
return true;
}