26.03.2012, 23:53
Quote:
|
Caro j..
pawn Код:
|
pawn Код:
#include < streamer >
pawn Код:
#define dPublic%0(%1) \
forward%0(%1); public%0(%1)
#define Loop(%0,%1) \
for(new %0 = 0; %0 != %1; %0++)
new
Area
;
pawn Код:
public OnGameModeInt()
{
Area = CreateDynamicRectangle(Float:minx, Float:miny, Float:maxx, Float:maxy);
Loop(dTHE, MAX_PLAYERS)
{
SetTimerEx("Laila", 1000, true, "d", dTHE);
}
return 1;
}
pawn Код:
dpublic Laila(playerid)
{
if(IsPlayerInDynamicArea(playerid, Area))
{
if(IsPlayerInAnyVehicle(playerid))
{
/*Funcoes*/ //Aqui suas funcoes
}
}
}
І


