29.01.2012, 10:47
Hey all i have little wierd problem
my command:
If I testing it then it didnt gived me Code ! WTF!
my command:
pawn Код:
dcmd_startmissle(playerid, params[])
{
#pragma unused params
if( gTeam[ playerid ] != TEAM_NUCLEAR )
{
new
Float:x, Float:y, Float:z;
for( new i = 0; i < MAX_PLAYERS; i ++ )
{
if( IsPlayerConnected( i ) && ( i != playerid ) && gTeam[ i ] != TEAM_NUCLEAR )
{
PlayerPlaySound( i, 1190, 0.0, 0.0, 0.0 );
GetPlayerPos( i, x, y, z );
CreateExplosion( x, y, z, 7, 10.0 );
}
}
SendClientMessageToAll( COLOR_NUCLEAR, "|- Nuclear has Killed! everyone! -|" );
}
return 1;
}