25.02.2014, 17:49
Well, I made this command /cone, but it creates the cone in air..
pawn Код:
stock CreateCone(playerid, Float:x, Float:y, Float:z, Float:Angle)
{
for(new i = 0; i < sizeof(cInfo); i++)
{
if(cInfo[i][cCreated] == 0)
{
cInfo[i][cCreated] = 1;
cInfo[i][cOwner] = playerid;
cInfo[i][cObject] = CreateObject(1238, x, y, z, 0.0, 0.0, Angle);
return 1;
}
}
return 0;
}