Posts: 1,176
Threads: 2
Joined: Nov 2012
Reputation:
0
is this code placed in filterscript or..?
Posts: 12
Threads: 2
Joined: Feb 2018
Reputation:
0
I reckon you are mixing YCMD and zcmd or something like that.
Posts: 728
Threads: 109
Joined: May 2015
Reputation:
0
we cant understand anything,translate it to enlish please and tell us whats the cmd supposed to do
Posts: 13
Threads: 3
Joined: Jan 2018
Reputation:
0
YCMD: rules (playerid, params [], help)
{
#pragma unused help
#pragma unused params
if (loggedplayer[playerid] == 0) return SCM (playerid, -1, "GA: RP |" RED "You must log in to use this command!"); //this line of code dosent do anything to server:unknown command i think
new string [128];
format (string, sizeof (string), "* Player% s is watching rules (/ rules).", GetName (playerid));
new info [8192];
// commands
ProxDetector (30.0, playerid, string, PROX, PROX, PROX, PROX, PROX);
return 1;
}
yes this is set in gamemode.
and cmd is changded whit ycmd
Posts: 13
Threads: 3
Joined: Jan 2018
Reputation:
0
Not working can someone fix this?
Posts: 1,176
Threads: 2
Joined: Nov 2012
Reputation:
0
what do u want to do with this command? I can't understand this language which is given in texts.
Posts: 6,242
Threads: 8
Joined: Jun 2008
Quote:
Originally Posted by willbedie
try to use anything else instead of ProxDetector, it's a bit too outdated.
|
It does what is acceptable, and if it needs to be updated, then it can be updated... The only 'updates' I have seen anyone make, is simply hack the crap out of it, and make it simply a cut-off, rather than the fade.
Quote:
Originally Posted by willbedie
PHP код:
stock NearbyMessage(playerid, color, text[])
{
new Float: PlayerPosition[3];
GetPlayerPos(playerid, PlayerPosition[0], PlayerPosition[1], PlayerPosition[2]);
for(new i; i < MAX_PLAYERS; i++)
{
if(IsPlayerInRangeOfPoint(i, 5, PlayerPosition[0], PlayerPosition[1], PlayerPosition[2]))
{
SendClientMessage(i, color, text);
}
}
}
|
Interesting, could be something to look at.
OP, I suggest you learn a bit more about scripting. If you haven't included the include for ycmds, or if you've got a callback or a filterscript that is returning the wrong return, it could cause trouble.
Show your include lines.
E.g.
Код:
#include <a_samp>
#include <streamer>