SA-MP Forums Archive
wtf is wrong with my streamer? - 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: wtf is wrong with my streamer? (/showthread.php?tid=248260)



wtf is wrong with my streamer? - sciman001 - 13.04.2011

Ok, i made a streamer in my gm. A BASIC streamer. And it gives me an error with the stock. code:

pawn Код:
stock CreateStreamedObject(ModelID, Float:X, Float:Y, Float:Z, Float:rX, Float:rY, Float:rZ)
{
    ObjectID++; //ObjectID
    ObjectModel[ObjectID] = ModelID; //Model
    ObjectPos[ObjectID][0] = X; //XPos
    ObjectPos[ObjectID][1] = Y; //YPos
    ObjectPos[ObjectID][2] = Z; //ZPos
    ObjectRotation[ObjectID][0] = rX; //RotationX
    ObjectRotation[ObjectID][1] = rY;//RotationY
    ObjectRotation[ObjectID][2] = rZ; //RotationZ
    ObjectDistance[ObjectID] = 100.0; //View distance
    ObjectUsed[ObjectID] = 1; //Disable/enable the object, it's starting off being enabled.
}
What should i do?


Re: wtf is wrong with my streamer? - airsoft - 13.04.2011

Ok, and the error would be >__>....


Re: wtf is wrong with my streamer? - sciman001 - 13.04.2011

wut? dude... if ur not gonna help.. dont reply. .. but... seriously... whats wrong? Am i just stupid to not see whats wrong? idk...


Re: wtf is wrong with my streamer? - anantanni - 13.04.2011

Lol he is asking for the error you get.
Copy the text the compiler shows and post it here.


Re: wtf is wrong with my streamer? - sciman001 - 13.04.2011

oooh. sorry to bother... i fixed it by copy/paste. thank you.