[POMOC]3D Text

Započeo mayk, Septembar 29, 2011, 18:26:38 POSLE PODNE

prethodna tema - sledeća tema

0 članova i 1 gost pregledaju ovu temu.

Skripta koju koristim:bu
Detaljan opis problema:da mi napravite da e 3d text, skriptata od kade ja najdov link : http://balkan-samp.com/forum/index.php?topic=6231.0
Dio skripte:
Citatpublic ReadPlayerHouseData(playerid)
{
   new string[256], house[64];
   for(new h = 0; h <= MAX_HOUSES; h++){
      format(house, sizeof(house), "/Houses/%d.dini.save", h);
       if(dini_Exists(house)){
         if(HouseInfo[h][hSellable] == 1){
              if(PlayerToPoint(PTP_RADIUS, playerid, HouseInfo[h][hExitX], HouseInfo[h][hExitY], HouseInfo[h][hExitZ])) {
               format(string, sizeof(string), "~g~] House for Sale ]~n~~w~Owner:~y~ %s~n~~w~Level:~r~ %d~n~~w~Sell Price:~r~ %d~n~~w~Rent Cost:~r~ %d", HouseInfo[h][hName], HouseInfo[h][hLevel], HouseInfo[h][hSell], HouseInfo[h][hRent]);
               GameTextForPlayer(playerid,string, 1500, 3);
            }
         } else if(HouseInfo[h][hSellable] == 0){
            if(PlayerToPoint(PTP_RADIUS, playerid, HouseInfo[h][hExitX], HouseInfo[h][hExitY], HouseInfo[h][hExitZ])) {
               format(string, sizeof(string), "~w~Owner:~y~ %s~n~~w~Level:~r~ %d~n~~w~Rent Cost:~r~ %d", HouseInfo[h][hName], HouseInfo[h][hLevel], HouseInfo[h][hRent]);
               GameTextForPlayer(playerid,string, 1500, 3);
            } } } }
}
Neke slike/video za lakse dobivanje pomoci(neobavezno)://

sta zelis da bude 3dtext umjseto GameTextForPlayer radis pomocu Create3DTextLabel
http://wiki.sa-mp.com/wiki/Create3DTextLabel

CitatC:\Users\Next\Desktop\Dreamworld RPG v0.2.0\filterscripts\Properties.pwn(439) : error 017: undefined symbol "Create3DTextLabel"
Pawn compiler 3.2.3664           Copyright (c) 1997-2006, ITB CompuPhase


1 Error.
??

Citat: mayk poslato Septembar 30, 2011, 08:37:54 PRE PODNE
CitatC:\Users\Next\Desktop\[cenzura] RPG v0.2.0\filterscripts\Properties.pwn(439) : error 017: undefined symbol "Create3DTextLabel"
Pawn compiler 3.2.3664           Copyright (c) 1997-2006, ITB CompuPhase


1 Error.
??
e moras definirati npr. ovako :
new Text3D:Kuca[sizeof(HouseInfo)];
Kuca[h] = Create3DTextLabel..... dio koda

neznam ako moze kod so se, ok inace taka neznam pa pavam i pak nisto eroriiiiiiiiiiiiiiiiiiiiiii hfala
Citatpublic ReadPlayerHouseData(playerid)
{
  new string[256], house[64];
  for(new h = 0; h <= MAX_HOUSES; h++){
     format(house, sizeof(house), "/Houses/%d.dini.save", h);
      if(dini_Exists(house)){
        if(HouseInfo[h][hSellable] == 1){
             if(PlayerToPoint(PTP_RADIUS, playerid, HouseInfo[h][hExitX], HouseInfo[h][hExitY], HouseInfo[h][hExitZ])) {
              format(string, sizeof(string), "~g~] House for Sale ]~n~~w~Owner:~y~ %s~n~~w~Level:~r~ %d~n~~w~Sell Price:~r~ %d~n~~w~Rent Cost:~r~ %d", HouseInfo[h][hName], HouseInfo[h][hLevel], HouseInfo[h][hSell], HouseInfo[h][hRent]);
              GameTextForPlayer(playerid,string, 1500, 3);
           }
        } else if(HouseInfo[h][hSellable] == 0){
           if(PlayerToPoint(PTP_RADIUS, playerid, HouseInfo[h][hExitX], HouseInfo[h][hExitY], HouseInfo[h][hExitZ])) {
              format(string, sizeof(string), "~w~Owner:~y~ %s~n~~w~Level:~r~ %d~n~~w~Rent Cost:~r~ %d", HouseInfo[h][hName], HouseInfo[h][hLevel], HouseInfo[h][hRent]);
              GameTextForPlayer(playerid,string, 1500, 3);
           } } } }
}
Poslednja Izmena: Oktobar 01, 2011, 16:51:40 POSLE PODNE od mayk