Jump to content

Diconfrost VaNz

Members
  • Posts

    996
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by Diconfrost VaNz

  1. i only understand "remove the +" but the "FYI it's the src not script ok.." thingy...what do you by that? /*========================================== * @broadcast by [Valaris] *------------------------------------------*/ ACMD_FUNC(broadcast) { int gm_lvl = pc_isGM(sd); nullpo_retr(-1, sd); memset(atcmd_output, '0', sizeof(atcmd_output)); if(!message || !*message) { clif_displaymessage(fd, "Please, enter a message (usage: @adm <message>)."); return -1; } if(gm_lvl >= 20 && gm_lvl <=40){ sprintf(atcmd_output, "[support and Order] %s : %s", sd->status.name, message); intif_broadcast2(atcmd_output, strlen(atcmd_output) + 1, 0xFF0000, 0x190, 12, 0, 0); } else if(gm_lvl>=41 && gm_lvl<=60){ sprintf(atcmd_output, "[support and Order] %s : %s", sd->status.name, message); intif_broadcast2(atcmd_output, strlen(atcmd_output) + 1, 0x800000, 0x190, 12, 0, 0); } else if (gm_lvl>=61 && gm_lvl<=80){ sprintf(atcmd_output, "[support and Order] %s : %s", sd->status.name, message); intif_broadcast2(atcmd_output, strlen(atcmd_output) + 1, 0x4B0082, 0x190, 12, 0, 0); } else if (gm_lvl>=81 && gm_lvl<=98){ sprintf(atcmd_output, "[support and Order] %s : %s", sd->status.name, message); intif_broadcast2(atcmd_output, strlen(atcmd_output) + 1, 0x0000FF, 0x190, 12, 0, 0); } else if(gm_lvl== 99){ sprintf(atcmd_output, "[Admin] %s : %s", sd->status.name, message); intif_broadcast2(atcmd_output, strlen(atcmd_output) + 1, 0xFF0000, 0x190, 12, 0, 0); } return 0; }
  2. so meaning it will be like this? /*========================================== * @broadcast by [Valaris] *------------------------------------------*/ ACMD_FUNC(broadcast) { + int gm_lvl = pc_isGM(sd); nullpo_retr(-1, sd); memset(atcmd_output, '0', sizeof(atcmd_output)); if(!message || !*message) { clif_displaymessage(fd, "Please, enter a message (usage: @adm <message>)."); return -1; } if(gm_lvl >= 20 && gm_lvl <=40){ sprintf(atcmd_output, "[support and Order] %s : %s", sd->status.name, message); intif_broadcast2(atcmd_output, strlen(atcmd_output) + 1, 0xFF0000, 0x190, 12, 0, 0); } else if(gm_lvl>=41 && gm_lvl<=60){ sprintf(atcmd_output, "[support and Order] %s : %s", sd->status.name, message); intif_broadcast2(atcmd_output, strlen(atcmd_output) + 1, 0x800000, 0x190, 12, 0, 0); } else if (gm_lvl>=61 && gm_lvl<=80){ sprintf(atcmd_output, "[support and Order] %s : %s", sd->status.name, message); intif_broadcast2(atcmd_output, strlen(atcmd_output) + 1, 0x4B0082, 0x190, 12, 0, 0); } else if (gm_lvl>=81 && gm_lvl<=98){ sprintf(atcmd_output, "[support and Order] %s : %s", sd->status.name, message); intif_broadcast2(atcmd_output, strlen(atcmd_output) + 1, 0x0000FF, 0x190, 12, 0, 0); } else if(gm_lvl== 99){ sprintf(atcmd_output, "[Admin] %s : %s", sd->status.name, message); intif_broadcast2(atcmd_output, strlen(atcmd_output) + 1, 0xFF0000, 0x190, 12, 0, 0); } return 0; }
  3. An Original Post From http://ro-resources.net/topic/285-broadcast-depending-on-gm-level/ It Doesn't work for me, i dnt know what is the error. I'm using 3ceam revision 650. /*========================================== * @broadcast by [Valaris] * Edited by Jake Red *------------------------------------------*/ ACMD_FUNC(broadcast) { nullpo_retr(-1, sd); memset(atcmd_output, '\0', sizeof(atcmd_output)); if(!message || !*message) { clif_displaymessage(fd, "Please, enter a message (usage: @adm <message>)."); return -1; } if(gm_lvl >= 20 && gm_lvl <=40){ sprintf(atcmd_output, "[support and Order] %s : %s", sd->status.name, message); intif_broadcast2(atcmd_output, strlen(atcmd_output) + 1, 0xFF0000, 0x190, 12, 0, 0); } else if(gm_lvl>=41 && gm_lvl<=60){ sprintf(atcmd_output, "[support and Order] %s : %s", sd->status.name, message); intif_broadcast2(atcmd_output, strlen(atcmd_output) + 1, 0x800000, 0x190, 12, 0, 0); } else if (gm_lvl>=61 && gm_lvl<=80){ sprintf(atcmd_output, "[support and Order] %s : %s", sd->status.name, message); intif_broadcast2(atcmd_output, strlen(atcmd_output) + 1, 0x4B0082, 0x190, 12, 0, 0); } else if (gm_lvl>=81 && gm_lvl<=98){ sprintf(atcmd_output, "[support and Order] %s : %s", sd->status.name, message); intif_broadcast2(atcmd_output, strlen(atcmd_output) + 1, 0x0000FF, 0x190, 12, 0, 0); } else if(gm_lvl== 99){ sprintf(atcmd_output, "[Admin] %s : %s", sd->status.name, message); intif_broadcast2(atcmd_output, strlen(atcmd_output) + 1, 0xFF0000, 0x190, 12, 0, 0); } return 0; }
  4. i think they're already dead...
  5. then @skilloff ) will the players are able the ground effect even they turn the effects off? /effect
  6. how about @warp lhz_in03 16 31 i can't find that one okay...i saw it now Thanks problem solved Thanks to everyone. This is the script i'm using now. derived from the script of kenpachi and the idea of miland with a help of Neblim for the warps.
  7. oh yeah...my bad xD how about @warp lhz_in03 18 99
  8. no not the npcs...i mean the warp portal on that room xD or can you suggest a map that i can make as GMs Room
  9. how to disable the warp portal here? @warp lhz_in03 26 161
  10. okay testing the script that kenpachi made
  11. nothing of the two is working for me? xD
  12. WTF?i thought this one is not this easy!so my code made in my mind was right! btw, thanks miland xD
  13. I dn't know if this is a scr or a just a script. Btw, this is the description. Whenever a GM logins ingame, it will warp him to a place(a place to be a GMs Private Room), and it will automatically give the GM the command of @speed 0 and will broadcast to the whole server that this GM is online.
  14. Another candidate for a dead thread?
  15. what is the format and the size of a login screen for ragnarok? is it 16bit? 32bit? what size?
  16. Obviously bawal ang double posting...kahit saang forums...common sense lng nmn eh
  17. Color: Red, (Decide what combination you want if it fits in the title name) Name: Adik Sa Flyff - High Rate v18 Server Size: Larger than the one you made for me earlier Picture: Flyff Chibis Animation: Make it more fitting for a flyff server, and make it unlimited loop
×
×
  • Create New...