Tag Missmatch
#3

pawn Код:
/* I'm assuming you use incognito's streamer */

#define MAX_GARBAGE_BINS    30
#define GARBAGE_MDL_ID      3035

enum EGarbageBinInfo {
    EGBModelID,
    Float:GarbageBinX,
    Float:GarbageBinY,
    Float:GarbageBinZ,
    Float:GarbageBinRotX,
    Float:GarbageBinRotY,
    Float:GarbageBinRotZ,
    EGBObjID,
};
new GarbageBins[MAX_GARBAGE_BINS][EGarbageBinInfo] = {
    //MDL, X,   Y,  Z,  RX,  RY, RZ
    //Add as many as you want
    {GARBAGE_MDL_ID, 2069.4067, -1767.8309, 13.5622, 0.0, 0.0, 90.0},
    {GARBAGE_MDL_ID, 2069.4067, -1767.8309, 13.5622, 0.0, 0.0, 90.0}
   
};
OnGameModeInit() {
    for(new i=0; i<sizeof(GarbageBins); i++) {
        GarbageBins[i][EGBObjID] = CreateDynamicObject(GarbageBins[i][EGBModelID],GarbageBins[i][GarbageBinX],GarbageBins[i][GarbageBinY],GarbageBins[i][GarbageBinZ]-0.30, GarbageBins[i][GarbageBinRotX], GarbageBins[i][GarbageBinRotY], GarbageBins[i][GarbageBinRotZ]);
    }
    return 1;
}
OnGameModeExit() {
    for(new i=0; i<sizeof(GarbageBins); i++) {
        DestroyDynamicObject(GarbageBins[i][EGBObjID]);
    }
    return 1;
}
Reply


Messages In This Thread
Tag Missmatch - by Ciarannn - 19.05.2015, 23:48
Re: Tag Missmatch - by Jefff - 20.05.2015, 01:35
Re: Tag Missmatch - by InglewoodRoleplay - 20.05.2015, 02:47

Forum Jump:


Users browsing this thread: 1 Guest(s)