01.05.2016, 18:21
Quote:
Presta atenзгo nas chaves e na condiзгo.
Код:
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; } |