24.05.2015, 15:12
Why there is no explosions ?
At least, the script works fine !
:/
At least, the script works fine !
PHP код:
PUBLIC:Explosions()
{
foreach(new i:Player)
{
if(PlayerToPoint(10.0, i, -1479.7295,971.4417,10.7425))
{
if(CentraleBlown == 0)
{
if(gTeam[i] != TEAM_COP || gTeam[i] != TEAM_ARMY || gTeam[i] != TEAM_CIA || gTeam[i] != TEAM_LEADERRAID || gTeam[i] != TEAM_COLEADERRAID || gTeam[i] != TEAM_RAID || gTeam[i] != TEAM_LEADERSWAT || gTeam[i] != TEAM_COLEADERSWAT || gTeam[i] != TEAM_SWAT)
{
SendClientMessage(i,COLOR_RED,"Vous devez exploser la centrale йlйctrique afin d'йviter les explosions.");
new Float:x, Float:y, Float:z;
GetPlayerPos(i, x, y, z);
CreateExplosion(x,y,z, 9, 10.0);
}
}
}