[HELP]Create3DtextLabel to sell the house.
#1

Well, I was editing a gf (godfather) and thought how it would look if the houses were advertised in Create3DTextLabel, but when trying to hear some mistakes, I searched but no one thought anything about it if they could help thank you.

pawn Код:
if(HouseInfo[h][hOwned] == 0)
        {
      Create3DTextLabel("Casa a venda!/nNome: %s /nPreзo: $%d /n Level: %d" 0x556B2FAA, HouseInfo[h][hEntrancex], HouseInfo[h][hEntrancey], HouseInfo[h][hEntrancez]);
            return 1
        }
Erros/Warnings:
pawn Код:
C:\Documents and Settings\Administrador\Meus documentos\Meus arquivos recebidos\CN8.pwn(2715) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Administrador\Meus documentos\Meus arquivos recebidos\CN8.pwn(13703) : error 001: expected token: "-string end-", but found "-identifier-"
C:\Documents and Settings\Administrador\Meus documentos\Meus arquivos recebidos\CN8.pwn(13703) : warning 215: expression has no effect
C:\Documents and Settings\Administrador\Meus documentos\Meus arquivos recebidos\CN8.pwn(13703) : warning 215: expression has no effect
C:\Documents and Settings\Administrador\Meus documentos\Meus arquivos recebidos\CN8.pwn(13703) : warning 215: expression has no effect
C:\Documents and Settings\Administrador\Meus documentos\Meus arquivos recebidos\CN8.pwn(13703) : warning 215: expression has no effect
C:\Documents and Settings\Administrador\Meus documentos\Meus arquivos recebidos\CN8.pwn(13703) : error 001: expected token: ";", but found ")"
C:\Documents and Settings\Administrador\Meus documentos\Meus arquivos recebidos\CN8.pwn(13703) : error 029: invalid expression, assumed zero
C:\Documents and Settings\Administrador\Meus documentos\Meus arquivos recebidos\CN8.pwn(13703) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664          Copyright (c) 1997-2006, ITB CompuPhase


4 Errors.

And excuse my bad English.
Reply
#2

pawn Код:
if(HouseInfo[h][hOwned] == 0)
        {
new string[256];
format(string,sizeof(string),"Casa a venda!/nNome: %s /nPreзo: $%d /n Level: %d",housename,price,level);
      Create3DTextLabel(string, 0x556B2FAA, HouseInfo[h][hEntrancex], HouseInfo[h][hEntrancey], HouseInfo[h][hEntrancez],30.0,40.0,50.0,40.0,0);
            return 1;
        }
Replace "housename ,price, level" with the names you defined.
Reply
#3

Thanks, but now it appears the text when I get near a house sale.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)