strval inputtext
#1

PHP Code:
             if(response)
             {
                 new 
zin[222];
                if(
strval(inputtext) > 128) return SendClientMessage(playerid, -1"{f03333}Tekstas per ilgas!");
                if(
GetPlayerMoney(playerid) < 500) return SendClientMessage(playerid, -1"{f03333}Neturite pakankamai pinigų!");
                
format(zin,sizeof(zin),"{ff6699}[{ff99cc}SKELBIMAS ] %s{ff6699}{ff99cc}: %s",GET_NAME(playerid),strval(inputtext));
                
SendClientMessageToAll(0xffcc00FF,zin);
                
format(zin,sizeof(zin),"{ff6699} %s",strval(inputtext));
                   
SendClientMessageToAll(-1zin);
                
GivePlayerMoneyA(playerid,-500);
                   
SendClientMessage(playerid, -1"Sumokėjote 500$");
             } 
it doesn't show the text, what could be the problem
Reply


Messages In This Thread
strval inputtext - by Kevinas100 - 21.03.2019, 20:22
Re: strval inputtext - by Sasino97 - 21.03.2019, 20:28
Re: strval inputtext - by Kevinas100 - 21.03.2019, 20:42
Re: strval inputtext - by Shaneisace - 21.03.2019, 20:52
Re: strval inputtext - by Kevinas100 - 21.03.2019, 21:16

Forum Jump:


Users browsing this thread: 1 Guest(s)