17.05.2014, 16:30
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 .
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;
}