22.04.2012, 14:07
pawn Код:
public OnPlayerConnect(playerid)
{
for(new i;i<MAX_PLAYERS;i++)
{
TextDrawShowForPlayer(playerid,BoxOben);
TextDrawShowForPlayer(playerid,BoxUnten);
runningmapconnect[playerid] = 1;
if(runningmap == 0)
{
SetTimer("BoxHide",7000,false);
}
else
{
spec();
}
}
return 1;
}
try this:
pawn Код:
public OnPlayerConnect(playerid)
{
TextDrawShowForPlayer(playerid,BoxOben);
TextDrawShowForPlayer(playerid,BoxUnten);
runningmapconnect[playerid] = 1;
if(runningmap == 0)
{
SetTimerEx("BoxHide", 7000, false, "%d", playerid);
}
else
{
spec();
}
return 1;
}