Please Help ME T-T +1 Rep If You Helped -
MiyuUchiha - 23.12.2015
why i i making too many errors or warning hhh..
help me i have problems again
he wants me to put return 1; in the line but he gave me warnings what you want sh*t pawon
Код:
public OnPlayerText(playerid, text[])
{
if(strfind(text, "*999#", true))
{
if(MegangHP[playerid] == 1) return SCM(playerid, 0xFFFFFFFF, "Lu Gak Megang HP Lu Pengen Dafter Apa Dafter Ke Supermarket Apah");
{
ShowPlayerDialog(playerid,PAKET_TELKOMSEL,DIALOG_STYLE_LIST,"Paket Telkomsel","1. 2GB + 1GB 4G + 3 GB MDS (Rp. 70.000,00-,)\n2. 2GB + 2GB 4G + 3GB MDS(Rp. 90.000,00-,)\n3. 4GB + 3GB + 2GB MDS(Rp. 140.000,00-,)","Lanjut","Keluar");
}
}
return 1; //warning here he want me place return here
}
Код:
C:\SA-MPServer\Indonesian XpertS Gaming Test\filterscripts\TelkomselHP(IND).pwn(50) : warning 217: loose indentation
Re: Please Help ME T-T +1 Rep If You Helped -
iKarim - 23.12.2015
replace
PHP код:
TextDrawHideForPlayer(playerid, Textdraw0[playerid]); // error
with
PHP код:
TextDrawHideForPlayer(playerid, Textdraw0);
Re: Please Help ME T-T +1 Rep If You Helped -
MiyuUchiha - 23.12.2015
Yeah Thanks It WOrks +1 Rep
Re: Please Help ME T-T +1 Rep If You Helped -
MiyuUchiha - 23.12.2015
Please Help Me On THis New problems
before this i helped to fix textdraw error by pawn hunter
now warning for loose identation

2 errors or warning for this topic
Re: Please Help ME T-T +1 Rep If You Helped -
jlalt - 23.12.2015
PHP код:
public OnPlayerText(playerid, text[])
{
if(strfind(text, "*999#", true))
{
if(MegangHP[playerid] == 1) return SCM(playerid, 0xFFFFFFFF, "Lu Gak Megang HP Lu Pengen Dafter Apa Dafter Ke Supermarket Apah");
{
ShowPlayerDialog(playerid,PAKET_TELKOMSEL,DIALOG_STYLE_LIST,"Paket Telkomsel","1. 2GB + 1GB 4G + 3 GB MDS (Rp. 70.000,00-,)\n2. 2GB + 2GB 4G + 3GB MDS(Rp. 90.000,00-,)\n3. 4GB + 3GB + 2GB MDS(Rp. 140.000,00-,)","Lanjut","Keluar");
}
}
return 1; //warning here he want me place return here
}
Re: Please Help ME T-T +1 Rep If You Helped -
FreAkeD - 23.12.2015
This is one of the many common errors you can receive, and it's simple to fix.
Read this:
https://sampwiki.blast.hk/wiki/Errors_Li...se_indentation
Re: Please Help ME T-T +1 Rep If You Helped -
MiyuUchiha - 23.12.2015
thanks jlalt