SA-MP Forums Archive
Streamer Issues - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Streamer Issues (/showthread.php?tid=506406)



Streamer Issues - Mriss - 12.04.2014

Okay, So I made a cmd that spawns an oobject using CreateDynamicObject but when I go ingame and do the CMD, the object is not spawned, when I put the Cmd i made into a different Gamemode it spawns perfectly... And my gate system is not working.(not making the object)


Re: Streamer Issues - Mriss - 12.04.2014

Also, My Fire system not spawning fire object...


Re: Streamer Issues - Dignity - 12.04.2014

Can you post your code please?


Re: Streamer Issues - Mriss - 12.04.2014

Lol, Remember the Crane code that u helped me with yesterday? Its not working, but when I do it in a Fresh Gamemode it does


Re: Streamer Issues - Mriss - 13.04.2014

bump


Re: Streamer Issues - Flake. - 13.04.2014

Show us the code, what's wrong with it and what you want it to do.


Re: Streamer Issues - Mriss - 13.04.2014

Well, When I do /addcrane or something like create gates ingame, it doesnt create the model, It was working before but now...


Re: Streamer Issues - Avi Raj - 13.04.2014

Are you mad?
Bro they are saying show the code.
If you need help you need to post the codes.


Re: Streamer Issues - Hanuman - 13.04.2014

>>>Show Your Codes<<<



Re: Streamer Issues - Mriss - 13.04.2014

Why would I be mad?, anyways here's my code.
pawn Код:
new CraneObject;

CMD:addcrane(playerid, params[])
{
    new Float:X, Float:Y, Float:Z, Float:Distance = 5.0;
    GetPlayerPos(playerid, X, Y, Z);
    CraneObject = CreateDynamicObject(1378, X, Y, Z, 0.00, 0.00, 0.00, 0, 0, -1, 300.0);
    SendClientMessage(playerid, COLOR_GREEN, "Crane Deployed");
    EditObject(playerid, CraneObject);

    return 1;
}

CMD:destroycrane(playerid, params[])
{
    DestroyDynamicObject(CraneObject);
    SendClientMessage(playerid, COLOR_GREEN, "Crane Destroyed");
    return 1;
}