#define vmenu 159156
new Text3D:Presretac1[MAX_PLAYERS]; new Text3D:Presretac2[MAX_PLAYERS]; new Text3D:Presretac3[MAX_PLAYERS];
if(dialogid == vmenu) { if(response) { if(listitem == 0) // Pratite nas! { Presretac1[playerid] = Create3DTextLabel("Pratite nas!",COLOR_WHITE,0,0,0,50,-1,1); Attach3DTextLabelToPlayer(Presretac1[playerid], playerid, 0,0,0); SendClientMessage(playerid, COLOR_WHITE, "Aktivirana labela-Pratite nas!"); } if(listitem == 1) // Stop! { Presretac2[playerid] = Create3DTextLabel("Stop!",COLOR_WHITE,0,0,0,50,-1,1); Attach3DTextLabelToPlayer(Presretac2[playerid], playerid, 0,0,0); SendClientMessage(playerid, COLOR_WHITE, "Aktivirana labela-Stop!"); } if(listitem == 2) // Policija! { Presretac3[playerid] = Create3DTextLabel("Policija!",COLOR_WHITE,0,0,0,50,-1,1); Attach3DTextLabelToPlayer(Presretac3[playerid], playerid, 0,0,0); SendClientMessage(playerid, COLOR_WHITE, "Aktivirana labela-Policija!"); } if(listitem == 3) // Obrisi { Delete3DTextLabel(Presretac1[playerid]); Delete3DTextLabel(Presretac2[playerid]); Delete3DTextLabel(Presretac3[playerid]); SendClientMessage(playerid, COLOR_WHITE, "Obrisao si sve labele!"); } return 1; } return 1; }
if(!strcmp(cmdtext, "/presretac", true)) { if(PlayerInfo[playerid][pMember] == 1 || PlayerInfo[playerid][pLeader] == 1) { ShowPlayerDialog(playerid, vmenu, DIALOG_STYLE_LIST, "Presretac", "Pratite nas! \nStop! \nPolicija! \nObrisi", "U redu", " "); return 1; } else return SendClientMessage(playerid, 0xFFFFFFAA, "Nisi ovlascen/na za koriscenje ove komande!"); }
Originally Posted by READ THIS BEFORE POSTING! (RULES TO FOLLOW)
b) Do not bump
Some people apparently think they are important enough to bump their own topic after 10 minutes. You can bump topics when the last reply is at least 48 hours old, and it needs to have useful information about your problem. |
The message you have entered is too short. Please lengthen your message to at least 8 characters.
|
Ignore that, the forum fucked up, gave me that message so I just copied to to let me post.
(Although I don't understand why it gave me that message when the quote was obviously more then 8 char)... |