Jump to content

Problema cheat


Recommended Posts

Buna ziua am si eu un server de samp RPG.

Problema:Atunci cand scriu ceva in cheat .ex.( ce faci ? ) se vede la toti jucatorii care nu sunt in apropiere.

Ma putrti ajuta cum sa fac cheat-ul pe o raza ? 10-15 m.

Gamemode:wa-rpg.YCMD

Host:ultra-h

Cateva define-uri:define color_rosuvv2 , define color_verdev2 ... ETC

Ma puteti ajuta ? Dau +5

Link to comment
Share on other sites

  • 2 weeks later...
Server:SendLocalMessageEx(playerid, color, msg[]) {
	new Float:x, Float:y, Float:z;
	GetPlayerPos(playerid, x, y, z);

	foreach(Player, i) {
		if(LoggedIn[i]) {
            		if(IsPlayerInRangeOfPoint(playerid, 15.0, x, y, z) && GetPlayerInterior(i) == GetPlayerInterior(playerid) && GetPlayerVirtualWorld(i) == GetPlayerVirtualWorld(playerid)) {
				SendClientMessage(i, color, msg);
			}
		}
	}
	return 1;
}

Am setat o raza de 15. Poti sa o setezi dupa preferintele tale.

Edited by _alchemy
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.