Creating CMD - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Creating CMD (
/showthread.php?tid=378339)
Creating CMD -
BlueGames - 17.09.2012
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
Re: Creating CMD -
BlueGames - 18.09.2012
bump ??!
Re: Creating CMD -
BlueGames - 18.09.2012
lal help me just how i force msg and create it on test3d on position then msg show on the pos
Re: Creating CMD -
diesulke - 18.09.2012
It would be easier for us if you post your current script you've made.
Re: Creating CMD -
xMCx - 18.09.2012
post ur current coding please
Re: Creating CMD -
BlueGames - 18.09.2012
Код:
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
Re: Creating CMD -
BlueGames - 18.09.2012
Any one ?