Rob help
#3

Quote:
Originally Posted by TheLegend1
Посмотреть сообщение
Hello boys well i made an system robbing but when someone try /rob on a business it shows only him the gametext i want it to show to everyone that is in business maybe someone can help me out ?

PHP код:
SetPVarInt(playerid"robbingtime"GetPVarInt(playerid"robbingtime") + );
            new 
str[164];
            
format(str164"~r~do not move:~n~~n~~w~%02d sec"120-GetPVarInt(playerid"robbingtime"));
            
GameTextForPlayer(playeridstr50004); 
Just do this:
Код:
SetPVarInt(playerid, "robbingtime", GetPVarInt(playerid, "robbingtime") + 1 );
new str[164];
format(str, 164, "~r~do not move:~n~~n~~w~%02d sec", 120-GetPVarInt(playerid, "robbingtime"));
GameTextForAll(str, 5000, 4);
Reply


Messages In This Thread
Rob help - by TheLegend1 - 28.04.2015, 15:59
Re: Rob help - by ChuckyBabe - 28.04.2015, 16:11
Re: Rob help - by $Marco$ - 28.04.2015, 16:52
Re: Rob help - by TheLegend1 - 28.04.2015, 17:51

Forum Jump:


Users browsing this thread: 1 Guest(s)