29.08.2010, 14:20
I am using this spike strip script, but it's spawning directly under me... I want it to spawn on my back :S
pawn Код:
stock CreateStrip(Float:x,Float:y,Float:z,Float:Angle)
{
for(new i = 0; i < sizeof(SpikeInfo); i++)
{
if(SpikeInfo[i][sCreated] == 0)
{
SpikeInfo[i][sCreated]=1;
SpikeInfo[i][sX]=x;
SpikeInfo[i][sY]=y;
SpikeInfo[i][sZ]=z-0.5;
SpikeInfo[i][sObject] = CreateObject(2899, x, y, z-0.5, 0, 0, Angle-90);
return 1;
}
}
return 0;
}