[Ajuda] Dъvida todo dia, saъde e alegria.
#8

PHP код:
              case 0
            {
                        
printf("MONEY > %d | SCORE: > %d" GetPlayerMoney(playerid), GetPlayerScore(playerid));
                        
                         if(
GetPlayerMoney(playerid)>=395 && GetPlayerScore(playerid) >= 10)
                         {
                            
SendClientMessage(playerid0xA135484A"Muito bom, agora adentre em uma das vans que estгo estacionadas e vamos carregб-la.");
                            
GivePlayerMoney(playerid, -395);
                            
GameTextForPlayer(playerid"Dinheiro: -R$395,00"30001);
                            
TogglePlayerControllable(playerid1);
                            
crackmis[playerid] = 10;
                            
printf("CARREGANDO");
                        }
                         if(
GetPlayerMoney(playerid)<=394 && GetPlayerScore(playerid) <= 9)
                        {
                            
SendClientMessage(playerid0xA135484A"Ei amigo o que estб achando? O trбfego de drogas nгo й para um qualquer! Vocк nгo estб apto para realizar esta compra.");
                            
TogglePlayerControllable(playerid1);
                            
printf("NГO APTO");
                        }
            } 
Rode isto e mostre seus resultados.
Reply


Messages In This Thread
Dъvida todo dia, saъde e alegria. - by Ely Manning - 17.10.2012, 01:57
Re: Dъvida todo dia, saъde e alegria. - by zSuYaNw - 17.10.2012, 02:15
Re: Dъvida todo dia, saъde e alegria. - by Ely Manning - 17.10.2012, 02:19
Re: Dъvida todo dia, saъde e alegria. - by hard_dalzot - 17.10.2012, 02:41
Re: Dъvida todo dia, saъde e alegria. - by Ely Manning - 17.10.2012, 02:43
Re: Dъvida todo dia, saъde e alegria. - by hard_dalzot - 17.10.2012, 02:51
Re: Dъvida todo dia, saъde e alegria. - by hard_dalzot - 17.10.2012, 03:00
Re: Dъvida todo dia, saъde e alegria. - by zSuYaNw - 17.10.2012, 03:02
Re: Dъvida todo dia, saъde e alegria. - by Ely Manning - 17.10.2012, 14:53

Forum Jump:


Users browsing this thread: 1 Guest(s)