17.06.2017, 20:12
Hello!
Can someone make this command with sscanf2?
Thanks in advance!
Can someone make this command with sscanf2?
Code:
dcmd_gangshow(playerid,params[]) { #pragma unused params if(inDM[playerid] == 1) return SendClientMessage(playerid,COLOR_RED,"Не можеш да използваш тази команда, докато си в DM зона!(/leavedm)"); if(PGang[playerid] >0) { if(GangHide[playerid]==0) { GangHide[playerid]=1; Delete3DTextLabel(label[playerid]); SendClientMessage(playerid,COLOR_LIGHT_GREEN,"Вече няма да има бандата пред ника ти!"); } else { GangHide[playerid]=0; label[playerid] = Create3DTextLabel(GName[PGang[playerid]], 0x008080FF, 30.0, 40.0, 50.0, 40.0, 0); Attach3DTextLabelToPlayer(label[playerid], playerid, 0.0, 0.0, 0.7); // X, Y , Z SendClientMessage(playerid,COLOR_LIGHT_GREEN,"Вече ще има бандата пред ника ти!"); } } return 1; }