help in /rape cmd
#8

Quote:
Originally Posted by iFiras
Посмотреть сообщение
Hey guys, Please anyone can give me a /rape command like when you be near a player you do /rape you rape the player, doing /rape without specifing ID of player. I need this command for my CNR server
I have been using this system in my servers since two years... it's possible.
Sure that in command to get closed player id you can use specific distance like:

pawn Код:
GetPlayerPos(playerid,x,y,z);
       if(IsPlayerInRangeOfPoint(Tplayer,6.0,x,y,z)){
       SendClientMessage(Tplayer, COLOR_RED,"You have been raped!"); //send message to Tplayer(target)
       SendClientMessage(playerid, COLOR_RED,"You have raped target player"); // send message to playerid (user)
       
       // code
       }else{
       SendClientMessage(playerid, COLOR_RED,"No one is close enough.");// similarly
       }
Reply


Messages In This Thread
Deleted. - by iFiras - 15.10.2013, 09:52
Re: help in /rape cmd - by doreto - 15.10.2013, 10:16
Deleted. - by iFiras - 15.10.2013, 10:24
Deleted. - by iFiras - 15.10.2013, 11:30
Re: help in /rape cmd - by Anak - 15.10.2013, 11:40
Re: help in /rape cmd - by edzis84 - 15.10.2013, 11:40
Deleted. - by iFiras - 15.10.2013, 11:48
Re: help in /rape cmd - by Anak - 15.10.2013, 11:49
Deleted. - by iFiras - 15.10.2013, 21:52
Re: help in /rape cmd - by Anak - 16.10.2013, 03:54

Forum Jump:


Users browsing this thread: 2 Guest(s)