[AJUDA] Й coisa rбpida e simples! kk
#7

Quote:
Originally Posted by feliperch
Посмотреть сообщение
Tenso, muito tenso

PHP код:
public OnPlayerCommandText(playeridcmdtext[]) 
{
    if(!
strcmp(cmdtext"/armas"true)) 
    { 
        if(
IsPlayerInRangeOfPoint(playerid,10.0,-36.0648,2349.6638,24.3026)    
        {
            
SendClientMessage(playerid,-1,"~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"); 
            
SendClientMessage(playerid,-1,"Escolha sua Arma - $1000 cada!"); 
            
SendClientMessage(playerid,-1,"MP5 - /MP5"); 
            
SendClientMessage(playerid,-1,"AK47 - /AK47"); 
            
SendClientMessage(playerid,-1,"9mm - /9mm"); 
            
SendClientMessage(playerid,-1,"ShotGun - /ShotGun"); 
            
SendClientMessage(playerid,-1,"M4 - /M4"); 
            
SendClientMessage(playerid,-1,"~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"); 
        }
        else 
SendClientMessage(playerid,-1,"ERRO: Vocк nгo estб no local para comprar armas");
        return 
true;
    }
    return 
false;

Quote:
Originally Posted by Dark.Angel
Посмотреть сообщение
PHP код:
if(strcmp(cmd"/armas"true) == 0)
{
if(
IsPlayerInRangeOfPoint(playerid5.0, -36.0648,2349.6638,24.3026))
{
    
SendClientMessage(playerid,-1,"~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~");
    
SendClientMessage(playerid,-1,"Escolha sua Arma - $1000 cada!");
    
SendClientMessage(playerid,-1,"MP5 - /MP5");
    
SendClientMessage(playerid,-1,"AK47 - /AK47");
    
SendClientMessage(playerid,-1,"9mm - /9mm");
    
SendClientMessage(playerid,-1,"ShotGun - /ShotGun");
    
SendClientMessage(playerid,-1,"M4 - /M4");
    
SendClientMessage(playerid,-1,"~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~");
}
else
{
SendClientMessage(playerid,-1,"Vocк nгo estб na area de compra de armas!");
}
return 
1;

Quote:
Originally Posted by Ricop522
Посмотреть сообщение
pawn Код:
public OnPlayerCommandText(playerid, cmdtext[]) {
    new cmd[0x3C*3];
    if(strcmp(cmd, "/armas", true) == 0)
    {
        if(!IsPlayerInRangeOfPoint(playerid, 15.0, -36.0648,2349.6638,24.3026)) return SendClientMessage(playerid, -1, "<!> Vocк nгo estб na posiзгo de compra de armas!");
        SendClientMessage(playerid,-1,"~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~");
        SendClientMessage(playerid,-1,"Escolha sua Arma - $1000 cada!");
        SendClientMessage(playerid,-1,"MP5 - /MP5");
        SendClientMessage(playerid,-1,"AK47 - /AK47");
        SendClientMessage(playerid,-1,"9mm - /9mm");
        SendClientMessage(playerid,-1,"ShotGun - /ShotGun");
        SendClientMessage(playerid,-1,"M4 - /M4");
        SendClientMessage(playerid,-1,"~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~");
        return 0x01;
    }
    return 0x0;
}
Identado e fixado.
Vlws ai , consegui aqui, mals ai kk, so novato ainda com essas coisas ;s
Reply


Messages In This Thread
[AJUDA] Й coisa rбpida e simples! kk - by Rodrigo. - 18.06.2011, 21:02
Re: [AJUDA] Й coisa rбpida e simples! kk - by Ricop522 - 18.06.2011, 21:11
Re: [AJUDA] Й coisa rбpida e simples! kk - by Rodrigo. - 18.06.2011, 21:13
Re: [AJUDA] Й coisa rбpida e simples! kk - by RockFire - 18.06.2011, 21:16
Re: [AJUDA] Й coisa rбpida e simples! kk - by Dark.Angel - 18.06.2011, 21:16
Re: [AJUDA] Й coisa rбpida e simples! kk - by Ricop522 - 18.06.2011, 21:19
Re: [AJUDA] Й coisa rбpida e simples! kk - by Rodrigo. - 18.06.2011, 21:21

Forum Jump:


Users browsing this thread: 2 Guest(s)