Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- new quest_MapIcon[MAX_PLAYERS][51];
- new Float:quest_Pos[3][51] = { // aici pui pozitiile (ti-am lasat un exemplu)
- {2229.8391,1286.0757,27.1641},
- {},
- {},
- {},
- {},
- {},
- {},
- {},
- {},
- {},
- {},
- {},
- {},
- {},
- {},
- {},
- {},
- {},
- {},
- {},
- {},
- {},
- {},
- {},
- {},
- {},
- {},
- {},
- {},
- {},
- {},
- {},
- {},
- {},
- {},
- {},
- {},
- {},
- {},
- {},
- {},
- {},
- {},
- {},
- {},
- {},
- {},
- {},
- {},
- {},
- };
- if(dialogid == DIALOG_QUEST)
- {
- if(!response) return 1;
- if(ShowIcon[playerid] == 1) {
- for(new i = 0; i < 50; i++) {
- quest_MapIcon[playerid][i] = SetPlayerMapIcon(playerid, -1, quest_Pos[i], 56, -1, MAPICON_GLOBAL);
- }
- }
- else
- {
- return 1;
- }
- }
- CMD:stopquest(playerid, params[]) {
- SendClientMessage(playerid, -1, "Nu vei mai vedea MapIcon-urile de la Quest!");
- for(new i = 0; i < 50; i++) {
- RemovePlayerMapIcon(playerid, quest_MapIcon[playerid][i]);
- }
- return 1;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement