25.01.2011, 23:59
pawn Код:
new portaorussa;
forward PortaoRussa();
public OnGameModeInit()
{
SetTimer("PortaoRussa", 200, true);
portaorussa = CreateObject(980, 1287.5961914063, -2056.6650390625, 60.437160491943, 0, 0, 269.49462890625);
return 1;
}
public PortaoRussa()
{
for(new i=0; i < MAX_PLAYERS(); i++)
{
if( gTeam[i] == TEAM_COPS 15)
{
if(PlayerToPoint(15, 980,1287.5961914063, -2056.6650390625, 60.437160491943))
{
MoveObject(portaorussa,1287.6038818359, -2056.4663085938,20.547, 2);
MoveObject(portaocop,1287.5961914063, -2056.6650390625, 12.547, 2);
}
}
}
}

C:\Samp\filterscripts\portaoauto.pwn(1

C:\Samp\filterscripts\portaoauto.pwn(1

C:\Samp\filterscripts\portaoauto.pwn(1

sera q ta faltando include?