09.04.2012, 22:55
but you forget the createobject :/
if(DropInfo[i][dx] == 0.0 && DropInfo[i][dy] == 0.0 && DropInfo[i][dz] == 0.0)
{
new Float:X,Float:Y,Float:Z;
GetPlayerPos(playerid, X, Y, Z);
DropInfo[i][dType] = 3;
DropInfo[i][dAmount][0] = stash;
DropInfo[i][dx] = X;
DropInfo[i][dy] = Y;
DropInfo[i][dz] = Z;
DropInfo[i][dWorld] = GetPlayerVirtualWorld(playerid);
strcpy(DropInfo[i][dPlayerName],tmp,MAX_PLAYER_NAME);
DropObject[i] = CreateDynamicObject(2060, X, Y, Z-1, 0, 0, 0, GetPlayerVirtualWorld(playerid));
return 1;
}
}
return 1;
}
Could you fix them i cant see the object so i can get back the mats to me
if(DropInfo[i][dx] == 0.0 && DropInfo[i][dy] == 0.0 && DropInfo[i][dz] == 0.0)
{
new Float:X,Float:Y,Float:Z;
GetPlayerPos(playerid, X, Y, Z);
DropInfo[i][dType] = 3;
DropInfo[i][dAmount][0] = stash;
DropInfo[i][dx] = X;
DropInfo[i][dy] = Y;
DropInfo[i][dz] = Z;
DropInfo[i][dWorld] = GetPlayerVirtualWorld(playerid);
strcpy(DropInfo[i][dPlayerName],tmp,MAX_PLAYER_NAME);
DropObject[i] = CreateDynamicObject(2060, X, Y, Z-1, 0, 0, 0, GetPlayerVirtualWorld(playerid));
return 1;
}
}
return 1;
}
Could you fix them i cant see the object so i can get back the mats to me