01.05.2016, 17:18
Galera to tentando criar meu primeiro comando , Porйm n sei se tem algo de errado ai
Code :
Valeu pessoal <3
Code :
pawn Код:
if (strcmp(cmd, "/umtestebrabo", true) == 0)
{
if(PlayerInfo[playerid][pExplosivos] > 0)
{
new string[128];
if(PlayerInfo[playerid][ComExplosivo])
SetPlayerAttachedObject(playerid, 0, 1252,6,0.032999,0.000000,-0.173999,-28.900001,-9.599999,5.199999,1.000000,1.000000,1.000000);
SetPlayerSpecialAction(playerid, 25);
format(string, sizeof(string), "%s Pegou um explosivo ", sendername);
ProxDetector(100.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
return true;
}