Quote:
Originally Posted by Schocc
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;
}
|
Vocк ta colocando playreid invйs de playerid cuidado,
Falta o return 0; senгo ira imprimir a msg do mesmo jeito.