[Ajuda] Zonas
#2

pawn Код:
#include                   a_samp
#include                   a_zone
public OnFilterScriptInit()
{
    SetTimer("Local", 3000, 3);
    return 1;
}
public OnFilterScriptExit()
{
    return 1;
}
forward Local(playerid);
public Local(playerid)
{
    new Don[100], zone[MAX_ZONE_NAME];
    format(Don,sizeof(Don),"%s",IsPlayerInZone(playerid, zone[MAX_ZONE_NAME]));
    SendClientMessage(playerid, -1, Don);
    return true;
}
E nгo deveria ser

pawn Код:
if(IsPlayerInZone(playerid, "NomeDaZona")) //Sherman por exemplo, Sherman Dam
?

Tente:

pawn Код:
forward Local(playerid);
public Local(playerid)
  if(IsPlayerInZone(playerid, "Sherman"))
    print("O player spawnou em: The Sherman Dam.");
    return true;
}
Sei la, essa public Teste sua ae nгo faz sentido nem o Timer..
Reply


Messages In This Thread
Zonas - by Don_Speed - 29.12.2012, 21:15
Re: Zonas - by Gleisson_. - 29.12.2012, 21:44
Re: Zonas - by Don_Speed - 29.12.2012, 21:47
Re: Zonas - by Gleisson_. - 29.12.2012, 21:54

Forum Jump:


Users browsing this thread: 1 Guest(s)