bug ObjectInfo
#1

Hi, i stored the ID's of the object in name, and when i put this in my function createobject, this last crash...


Код:
stock ObjetInfo[][] =
{
  {0,"Mauvais ID"},
  {18645,"Casque"},
  {19171,"Guide de Los Santos"},
  {2894,"Contract de location"}
};
Код:
stock createFloatEx(const floatid)
{
    FloatInfo[floatid][fObject] = CreateObject(ObjetInfo[FloatInfo[floatid][fItemName]][0],FloatInfo[floatid][fX],FloatInfo[floatid][fY],FloatInfo[floatid][fZ], 0.0, 0.0, 96.0);
    cacheAltFloat[FloatInfo[floatid][fObject]] = floatid;
    format(stringtmp, TAILLE_STRING_CLASSIC, Orange_SAMP"%s\n"Blanc_SAMP"Appuyez sur Alt G. pour ramasser l'item", FloatInfo[floatid][fItemName]);
    FloatInfo[floatid][fText] = Create3DTextLabel(stringtmp,Couleur_Blanche,FloatInfo[floatid][fX],FloatInfo[floatid][fY],FloatInfo[floatid][fZ],5.0,FloatInfo[floatid][fVW],false); 
}
Thank you for your future help
Reply
#2

UP...
Reply
#3

i need something from u on the bed
Reply
#4

What?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)