Creating CMD
#1

Hi
i want crete a cmd like, if you behind doors and /soffice inisde the office wil see ur msg
with if(IsPlayerInRangeOfPoint(playerid,1,1734.6200,-1660.0809,23.7183)) then who inisde the office will see that msg the guy are standing there forced
Thanks

[EDIT] im kinda of created a cmd but dont know how to set it behind the doors i mean the msg are forced at that pos
Reply
#2

bump ??!
Reply
#3

lal help me just how i force msg and create it on test3d on position then msg show on the pos
Reply
#4

It would be easier for us if you post your current script you've made.
Reply
#5

post ur current coding please
Reply
#6

Код:
    if(strcmp(cmd, "/smeeting", true)==0){
 	    if(PlayerTemp[playerid][muted]==0){
	 		new tmp[256];
	 		tmp = strrest(cmdtext,idx);
	  		if(!strlen(tmp)){
		    	SendClientUsage(playerid, cmd, "[msg]");
		    	return 1;
			}
			if(IsPlayerInRangeOfPoint(playerid,1,1735.0819,-1654.1500,23.7317))
			if(IsKnockouted[playerid]== 1) return SendClientError(playerid,"You cant use this command when you're knockouted ");
			if(FindIP(tmp))
			{
   				KickReas("[SERVER]",playerid,"Atempting to advertise IP's!");
   				return 1;
			}
			else
			{

		 {
	     SendClientError(playerid,"You have been muted");
		 }
	return 1;
 	}
How can i create that msg will show at this pos
Код:
2608.7288,2797.4834,2.4281
Reply
#7

Any one ?
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)