Balkan SA:MP

PAWN skriptanje, gamemodovi, filterskripte, include fajlovi, mape, pluginovi => Razgovor u vezi PAWN - skriptanja => Temu započeo: mayk poslato Septembar 29, 2011, 18:26:38 POSLE PODNE

Naslov: [POMOC]3D Text
Poruka od: mayk poslato Septembar 29, 2011, 18:26:38 POSLE PODNE
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)://
Naslov: Odg: [POMOC]3D Text
Poruka od: [TG:RP]$--L84S--$ poslato Septembar 30, 2011, 00:36:47 PRE PODNE
sta zelis da bude 3dtext umjseto GameTextForPlayer radis pomocu Create3DTextLabel
http://wiki.sa-mp.com/wiki/Create3DTextLabel
Naslov: Odg: [POMOC]3D Text
Poruka od: mayk poslato Septembar 30, 2011, 08:37:54 PRE PODNE
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.
??
Naslov: Odg: [POMOC]3D Text
Poruka od: [TG:RP]$--L84S--$ poslato Septembar 30, 2011, 11:18:17 PRE PODNE
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
Naslov: Odg: [POMOC]3DTextLabel pomognete
Poruka od: mayk poslato Septembar 30, 2011, 11:28:17 PRE PODNE
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);
           } } } }
}