Author Topic: Is possible to create Icon (pawno) ?  (Read 3606 times)

0 Members and 2 Guests are viewing this topic.

Offline Jancis71

  • Street Thug
  • *
  • Posts: 21
    • View Profile
Is possible to create Icon (pawno) ?
« on: July 20, 2010, 06:08:05 pm »
I need that for my server script, i heard something about sending rcon command, would that work, if yes how can i do that?

StriKe

  • Guest
Re: Is possible to create Icon (pawno) ?
« Reply #1 on: July 20, 2010, 06:37:15 pm »
Check this for example kick command using rcon

http://famp.ru/wiki/SendRconCommand

Offline [AoD]NC

  • VC:MP Beta Tester
  • VC:MP Veteran
  • *
  • Posts: 616
  • AoD forever!
    • View Profile
    • KURWA MAĆ
Re: Is possible to create Icon (pawno) ?
« Reply #2 on: July 20, 2010, 08:54:01 pm »
Create icon? On radar or what :p?

Offline Jancis71

  • Street Thug
  • *
  • Posts: 21
    • View Profile
Re: Is possible to create Icon (pawno) ?
« Reply #3 on: July 20, 2010, 09:11:45 pm »
SendRconCommand is not working

i tried this:

else if (strcmp(cmd, "!icon", true) == 0) {
   new Float:x,Float:y,Float:z;
   GetPlayerPos(playerid,x,y,z);
   SendRconCommand("set 16 14 %f %f %f",x,y,z);
   SendClientMessage(playerid,COLOR_TEXT,"icon has been added!");
      return 1;
   }



Create icon? On radar or what :p?
yes on radar
« Last Edit: July 20, 2010, 09:13:41 pm by Jancis71 »

Offline killvn1

  • Street Thug
  • *
  • Posts: 33
    • View Profile
Re: Is possible to create Icon (pawno) ?
« Reply #4 on: December 28, 2010, 07:11:47 pm »
I have problem too.But if you want change time ( hour ) in game you can do it.when another player join the game it will change the time :))
here :
public OnPlayerConnect(playerid)
new thing = random(5);
      if(thing == 0) {
         SetWorldTime(23,0);
      }
      if(thing == 1) {
         SetWorldTime(19,0);
      }
      if(thing == 2) {
         SetWorldTime(10,0);
      }
      if(thing == 3) {
         SetWorldTime(5,0);
      }
      if(thing == 4) {
         SetWorldTime(3,0);
      }
      if(thing == 5) {
         SetWorldTime(0,0);
      }
any one can use SendRconcommands ??? It's exciting when auto rain or auto mist ...
Any way i'm looking for script delay !heal commands
when player type !heal
>>>pm : You have heal after 5 seconds....
and after 5 seconds player full heal ... i saw it in some server but i don't know how ???