Not showing text after registred
#1

When you registred you can typ /newb and do the cmd. but when you typ /newb you must see in the chat /newb [text] But you cant see that text in the chatlog, Same with /o when you typ /o you msut see in the chat /o [text]
Reply
#2

What do you mean your not making much sense

____________________________________________
CallumDaBest - ACC got hacked
Owner of Millenium Roleplay
____________________________________________
Reply
#3

Are we meant to guess your code?
Reply
#4

Exactly Paste you're code in then we will figure it out


______________________________________
CallumDaBest - ACC got hacked
Owner of Millenium Roleplay
______________________________________
Reply
#5

Which codes? Cause its with all codes. When you register you cant see the text IG. Normally you would see /newb [text] IG. But you cant see that. Try to join my server and register. you'll see what i mean.

37.187.244.13:7878

Register and typ /newb or something or /help. You cant see the text in the chatlog. Typ /help normal you will see /stats /newb etc. all the help commands. But you wont see anything

(( No its not a advertisement. Just to solve a problem ))
Reply
#6

BUMP, i still need help! Server is still opened for seeing waht i mean, Just register and typ some commands.
Reply
#7

Go to your gamemode under OnPlayerCommandText get that code and paste it here.
Reply
#8

Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
	return 1;
}

ProxDetector(Float: f_Radius, playerid, string[],col1,col2,col3,col4,col5) {
	if(WatchingTV[playerid] != 1) {

		new
			Float: f_playerPos[3];

		GetPlayerPos(playerid, f_playerPos[0], f_playerPos[1], f_playerPos[2]);
		foreach(Player, i) {
			if(!BigEar[i]) {
				if((InsideShamal[playerid] == GetPlayerVehicleID(i) && GetPlayerState(i) == 2) || (InsideShamal[i] == GetPlayerVehicleID(playerid) && GetPlayerState(playerid) == 2) || (InsideShamal[playerid] != INVALID_VEHICLE_ID && InsideShamal[playerid] == InsideShamal[i])) {
					SendClientMessageEx(i, col1, string);
				}
				else if(GetPlayerVirtualWorld(i) == GetPlayerVirtualWorld(playerid)) {
					if(IsPlayerInRangeOfPoint(i, f_Radius / 16, f_playerPos[0], f_playerPos[1], f_playerPos[2])) {
						SendClientMessageEx(i, col1, string);
					}
					else if(IsPlayerInRangeOfPoint(i, f_Radius / 8, f_playerPos[0], f_playerPos[1], f_playerPos[2])) {
						SendClientMessageEx(i, col2, string);
					}
					else if(IsPlayerInRangeOfPoint(i, f_Radius / 4, f_playerPos[0], f_playerPos[1], f_playerPos[2])) {
						SendClientMessageEx(i, col3, string);
					}
					else if(IsPlayerInRangeOfPoint(i, f_Radius / 2, f_playerPos[0], f_playerPos[1], f_playerPos[2])) {
						SendClientMessageEx(i, col4, string);
					}
					else if(IsPlayerInRangeOfPoint(i, f_Radius, f_playerPos[0], f_playerPos[1], f_playerPos[2])) {
						SendClientMessageEx(i, col5, string);
					}
				}
			}
			else SendClientMessageEx(i, col1, string);
		}
	}
	return 1;
}

ProxDetectorS(Float:radi, playerid, targetid) {

	if(WatchingTV[playerid] != 1)
	{
	    if(Spectating[targetid] != 0 && PlayerInfo[playerid][pAdmin] < 2)
	    {
	    	return 0;
	    }

		new
			Float: fp_playerPos[3];

		GetPlayerPos(targetid, fp_playerPos[0], fp_playerPos[1], fp_playerPos[2]);

		if(IsPlayerInRangeOfPoint(playerid, radi, fp_playerPos[0], fp_playerPos[1], fp_playerPos[2]) && GetPlayerVirtualWorld(playerid) == GetPlayerVirtualWorld(targetid))
		{
			return 1;
		}
	}
	return 0;
}
that's it.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)