[HELP]Create3DtextLabel to sell the house. - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: [HELP]Create3DtextLabel to sell the house. (
/showthread.php?tid=150475)
[HELP]Create3DtextLabel to sell the house. -
Blaze_Nigga(BR) - 26.05.2010
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.
Re: [HELP]Create3DtextLabel to sell the house. -
[MWR]Blood - 26.05.2010
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.
Re: [HELP]Create3DtextLabel to sell the house. -
Blaze_Nigga(BR) - 26.05.2010
Thanks, but now it appears the text when I get near a house sale.