[DUV] - Id Objeto Interior De Casa
#1

quero criar umas casas com interior + so acho interior sem objeto
alguem ai sabe um id de interior de casa ja com objetos dentro da casa?
Reply
#2

olha do thuglife 2.6
Reply
#3

Nгo entendi a sua dъvida Kevin.
Reply
#4

resolvido...
fiz uma gabearra pra criar casas rapidinho...

pawn Код:
public CriarCasaKevinsL(playerid,NumCasa)
{
    new Float:hX, Float:hY, Float:hZ, string[512], ronaldo;
    new string1[512], string2[512], string3[512], string4[512], string5[512], string6[512];
    new string7[512], string8[512], string9[512];
    GetPlayerPos(playerid, hX, hY, hZ);
    CreateDynamicObject(14712,hX+0.966,hY+0.441,hZ+0.456,0.0,0.0,0.0);
    CreateDynamicObject(15039,hX+1.392,hY+10.147,hZ-2.877,0.0,0.0,0.0);
    CreateDynamicObject(14806,hX-1.199,hY-4.361,hZ-1.972,0.0,0.0,-269.863);
    CreateDynamicObject(1723,hX-6.350,hY-3.552,hZ-2.884,0.0,0.0,-90.241);
    CreateDynamicObject(1827,hX+4.116,hY+4.483,hZ+2.885,0.0,0.0,0.0);
    CreateDynamicObject(14384,hX-4.576,hY+2.149,hZ+0.371,0.0,0.0,-0.859);
    CreateDynamicObject(2855,hX-2.448,hY+8.083,hZ-1.799,0.0,0.0,0.0);
    CreateDynamicObject(2528,hX+6.497,hY+3.188,hZ-2.861,0.0,-0.859,89.381);
    CreateDynamicObject(2527,-hX+6.367,hY+4.236,hZ-2.878,0.0,0.0,0.0);
    CreateDynamicObject(2524,-hX+4.497,hY+5.250,hZ-2.886,0.0,0.0,0.0);
   
    ronaldo = NumCasa;
   
    format(string, sizeof(string), "\n[CASA %d]\nCreateDynamicObject(14712,%f+0.966,%f+0.441,%f+0.456,0.0,0.0,0.0);", ronaldo, hX, hY, hZ);
    format(string1, sizeof(string), "\nCreateDynamicObject(15039,%f+1.392,%f+10.147,%f-2.877,0.0,0.0,0.0);", hX, hY, hZ);
    format(string2, sizeof(string), "\nCreateDynamicObject(14806,%f-1.199,%f-4.361,%f-1.972,0.0,0.0,-269.863);", hX, hY, hZ);
    format(string3, sizeof(string), "\nCreateDynamicObject(1723,%f-6.350,%f-3.552,%f-2.884,0.0,0.0,-90.241);", hX, hY, hZ);
    format(string4, sizeof(string), "\nCreateDynamicObject(1827,%f+4.116,%f+4.483,%f+2.885,0.0,0.0,0.0);", hX, hY, hZ);
    format(string5, sizeof(string), "\nCreateDynamicObject(14384,%f-4.576,%f+2.149,%f+0.371,0.0,0.0,-0.859);", hX, hY, hZ);
    format(string6, sizeof(string), "\nCreateDynamicObject(2855,%f-2.448,%f+8.083,%f-1.799,0.0,0.0,0.0);", hX, hY, hZ);
    format(string7, sizeof(string), "\nCreateDynamicObject(2528,%f+6.497,%f+3.188,%f-2.861,0.0,-0.859,89.381);", hX, hY, hZ);
    format(string8, sizeof(string), "\nCreateDynamicObject(2527,-%f+6.367,%f+4.236,%f-2.878,0.0,0.0,0.0);", hX, hY, hZ);
    format(string9, sizeof(string), "\nCreateDynamicObject(2524,-%f+4.497,%f+5.250,%f-2.886,0.0,0.0,0.0);", hX, hY, hZ);
   
    new File:casafile=fopen("CasasKsL.txt", io_append);
    fwrite(casafile, string);
    fwrite(casafile, string1);
    fwrite(casafile, string2);
    fwrite(casafile, string3);
    fwrite(casafile, string4);
    fwrite(casafile, string5);
    fwrite(casafile, string6);
    fwrite(casafile, string7);
    fwrite(casafile, string8);
    fwrite(casafile, string9);
    fclose(casafile);
       
    return 1;
}
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)