Vice City Multiplayer

VC:MP => mIRC/pawn Scripting => Topic started by: Jancis71 on July 20, 2010, 05:08:05 PM

Title: Is possible to create Icon (pawno) ?
Post by: Jancis71 on July 20, 2010, 05: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?
Title: Re: Is possible to create Icon (pawno) ?
Post by: StriKe on July 20, 2010, 05:37:15 PM
Check this for example kick command using rcon

http://famp.ru/wiki/SendRconCommand
Title: Re: Is possible to create Icon (pawno) ?
Post by: [AoD]NC on July 20, 2010, 07:54:01 PM
Create icon? On radar or what :p?
Title: Re: Is possible to create Icon (pawno) ?
Post by: Jancis71 on July 20, 2010, 08: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;
   }



Quote from: [AoD]NC on July 20, 2010, 07:54:01 PM
Create icon? On radar or what :p?
yes on radar
Title: Re: Is possible to create Icon (pawno) ?
Post by: killvn1 on December 28, 2010, 05: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 ???