09.01.2014, 12:40
pawn Код:
else if(newkeys & KEY_FIRE)
{
new Float:x, Float:y, Float:z;
if(PlayerInfo[playerid][pCaptain] == 1)
{
if(ControllingShip[playerid] == 1)
{
GetPlayerPos(playerid, x, y, z);
CreateExplosion(x+100, y, z, 2, 10.0);
}
}
}