SA-MP Forums

Go Back   SA-MP Forums > Search Forums

Showing results 1 to 25 of 500
Search took 0.02 seconds.
Search: Posts Made By: HydraX
Forum: Scripting Help 29/04/2014, 08:30 PM
Replies: 9
Views: 678
Posted By HydraX
Forum: Scripting Help 29/04/2014, 08:18 PM
Replies: 9
Views: 678
Posted By HydraX
Re: Admin Rank displays incorrectly

By the way it still isn't working.

http://i59.tinypic.com/2lkqof7.png
Forum: Scripting Help 29/04/2014, 08:13 PM
Replies: 9
Views: 678
Posted By HydraX
Re: Admin Rank displays incorrectly

I never knew a switch was needed for this, I thought AdmRank was pretty much like tLevel, variables where it would just get the rank after the guy was demoted/promoted. I'll try it out.
Forum: Scripting Help 29/04/2014, 08:03 PM
Replies: 9
Views: 678
Posted By HydraX
Admin Rank displays incorrectly

YCMD:setadmin(playerid, params[], help)
{
if( pInfo[playerid][Adminlevel] >= 4 )
{
new
TargetID,
tLevel,
tReason[50],
AdmRank[128];
Forum: Filterscripts 10/09/2012, 04:50 PM
Replies: 29
Views: 8,375
Posted By HydraX
Respuesta: Re: Rick Roll FilterScript [NOOB FRIENDLY]

So all this does is display who gets rick roll'd and play the song?
Forum: Scripting Help 07/09/2012, 09:24 PM
Replies: 4
Views: 823
Posted By HydraX
Respuesta: A simple timer & one question

Did you set %d to ALL the formats?
Forum: Scripting Help 07/09/2012, 09:20 PM
Replies: 8
Views: 2,387
Posted By HydraX
Respuesta: Re: An offline ban command

Thanks TheKiller! Once again saving my time!

Glad to see you're back! :)
Forum: Scripting Help 07/09/2012, 02:59 AM
Replies: 8
Views: 2,387
Posted By HydraX
Respuesta: Re: An offline ban command

This is a dini layout..
Forum: Scripting Help 07/09/2012, 12:49 AM
Replies: 8
Views: 2,387
Posted By HydraX
Respuesta: Re: An offline ban command

Did not work. It saved a %s file.
Forum: Scripting Help 07/09/2012, 12:43 AM
Replies: 8
Views: 2,387
Posted By HydraX
Respuesta: An offline ban command

For people not sure what the problem is, I get an Invalid Player Name even when I type in the right player name.

P.S. I'd also want to know if it's possible to add the name into the samp.ban file....
Forum: Scripting Help 07/09/2012, 12:10 AM
Replies: 8
Views: 2,387
Posted By HydraX
An offline ban command

YCMD:offlineban(playerid, params[], help)
{
new
TargetID;
if( !sscanf(params, "u", TargetID))
{
new string[32];
format(string,sizeof(string),PATH,TargetID);
new...
Forum: Scripting Help 04/09/2012, 11:55 PM
Replies: 5
Views: 794
Posted By HydraX
Forum: Scripting Help 04/09/2012, 11:44 PM
Replies: 5
Views: 794
Posted By HydraX
Respuesta: Re: This function fails to show an a Message when playercount hits 0.

Are you sure? :-P Isn't the playeramount++ count how many admins are online when it loops through players, with a level 1 or higher?
Forum: Scripting Help 04/09/2012, 11:28 PM
Replies: 5
Views: 794
Posted By HydraX
Cool This function fails to show an a Message when playercount hits 0.

IRCCMD:admins(botid, channel[], user[], host[], params[])
{
new msg[128], msg1[50], AdmRank[128], playeramount; //Increase str to a suitable number
foreach(Player, i)
{...
Forum: General 03/09/2012, 05:46 PM
Replies: 148
Views: 20,055
Posted By HydraX
Forum: Includes 03/09/2012, 03:29 PM
Replies: 95
Views: 20,923
Posted By HydraX
Forum: Scripting Help 03/09/2012, 02:35 PM
Replies: 19
Views: 2,533
Posted By HydraX
Respuesta: Re: How do I make IRC only send Admin chats to Users with Half-OP and above..

Yeah, it worked now. But when you gave me this

IRC_GroupSay(groupID, "%" # IRC_CHANNEL, Message);

this happened..

*@WCG2:%#wcgsamp* //words here..


How do I remove that...
Forum: Scripting Help 03/09/2012, 02:44 AM
Replies: 19
Views: 2,533
Posted By HydraX
Respuesta: How do I make IRC only send Admin chats to Users with Half-OP and above..

With the code above, this happened.

Regular IRC User:


<@WCG1> [0] [MM]HydraX: #test


Half-op and higher
Forum: Scripting Help 03/09/2012, 02:34 AM
Replies: 19
Views: 2,533
Posted By HydraX
Respuesta: How do I make IRC only send Admin chats to Users with Half-OP and above..

public OnPlayerText(playerid, text[])
{
new textstring[128];
new ircMsg[256];

if(PlayerInfo[playerid][pMuted] == true)
{
SendClientMessage(playerid, -1, "SERVER: You can't talk while...
Forum: Scripting Help 03/09/2012, 02:31 AM
Replies: 19
Views: 2,533
Posted By HydraX
Forum: Scripting Help 03/09/2012, 02:26 AM
Replies: 19
Views: 2,533
Posted By HydraX
Respuesta: Re: How do I make IRC only send Admin chats to Users with Half-OP and above..

if( text[0] == '#' && PlayerInfo[playerid][pAdmin] == 1)
{
new Message[128];
format( Message, sizeof Message, "{00B2EE}[ADMIN CHAT] %s (ID: %i | LVL: %i): %s",...
Forum: Scripting Help 03/09/2012, 02:22 AM
Replies: 19
Views: 2,533
Posted By HydraX
Respuesta: Re: How do I make IRC only send Admin chats to Users with Half-OP and above..

No, I'm testing it to see if it shows when you aren't halfop or above.
I don't want it to show the admin chat when you are just a regular user in IRC, I want it to show only when you are halfop or...
Forum: Scripting Help 03/09/2012, 02:16 AM
Replies: 19
Views: 2,533
Posted By HydraX
Respuesta: Re: How do I make IRC only send Admin chats to Users with Half-OP and above..

I did it, but it doesn't work, it still shows even when I'm not a halfop.


<@WCG1> [JOINED] [MM]HydraX (ID: 0)
<@WCG2> ***[MM]HydraX (ID: 0) has logged on to his account.
<@WCG1> [0]...
Forum: Scripting Help 03/09/2012, 02:11 AM
Replies: 19
Views: 2,533
Posted By HydraX
Respuesta: Re: How do I make IRC only send Admin chats to Users with Half-OP and above..

Does it matter if it's defined?

#define IRC_CHANNEL "wcgsamp"
Forum: Scripting Help 03/09/2012, 02:08 AM
Replies: 19
Views: 2,533
Posted By HydraX
Showing results 1 to 25 of 500

 

All times are GMT. The time now is 03:11 AM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.