[Ajuda] adicionar comando
#1

Galera estou tentando adicionar outra comando mas nгo estou conseguindo poderiao me ajudar.
Queria Adicionar o mesmo comando, duas vezes ai vou colocar a posiзгo diferente .
pawn Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
    if(strcmp(cmdtext,"/preparar",true)==0){
    if(PlayerToPoint(1.0, playerid, 1569.1609,-1634.6731,13.5549)){
    GivePlayerWeapon(playerid, 3, 1500);
    GivePlayerWeapon(playerid, 16, 1500);
    GivePlayerWeapon(playerid, 17, 1500);
    GivePlayerWeapon(playerid, 24, 1500);
    GivePlayerWeapon(playerid, 25, 1500);
    GivePlayerWeapon(playerid, 31, 1500);
    GivePlayerWeapon(playerid, 41, 1500);
    SetPlayerAttachedObject(playerid,3,18637,13,0.35,0.0,0.0,0.0,0.0,180.0);
    SetPlayerAttachedObject(playerid,0, 19487, 2, 0.101, -0.0, 0.0, 5.50, 84.60, 83.7, 1, 1, 1, 0xFF00FF00);
    SetPlayerArmour(playerid, 100);
    SetPlayerHealth(playerid, 100);
    SendClientMessage(playerid,-1,"Vocк Estб Preparado");
}
    else
{
    SendClientMessage(playerid,-1,"Vocк nгo estб no ponto certo");
    return 1;
}
}
    return 0;
}
Reply


Messages In This Thread
adicionar comando - by Comanfis157 - 17.05.2014, 16:30
Re: ADICIONAR COMANDO - by MultiKill - 17.05.2014, 17:00
Re: ADICIONAR COMANDO - by Douglas_prt - 17.05.2014, 17:06
Re: ADICIONAR COMANDO - by tonisantolia - 17.05.2014, 17:12
Re: ADICIONAR COMANDO - by Comanfis157 - 17.05.2014, 17:15
Re: ADICIONAR COMANDO - by MultiKill - 17.05.2014, 17:16
Re: ADICIONAR COMANDO - by Comanfis157 - 17.05.2014, 17:22
Re: ADICIONAR COMANDO - by MultiKill - 17.05.2014, 17:32
Re: ADICIONAR COMANDO - by Comanfis157 - 17.05.2014, 17:35
Re: ADICIONAR COMANDO - by MultiKill - 17.05.2014, 17:54

Forum Jump:


Users browsing this thread: 1 Guest(s)