Author Topic: Drunk ?  (Read 2078 times)

0 Members and 1 Guest are viewing this topic.

Offline [Akatsuki]Itachi

  • Wiseguy
  • **
  • Posts: 65
  • I am just a normal ???? people.
    • View Profile
    • [Akatsuki]Konoha
Drunk ?
« on: June 21, 2013, 11:55:43 am »
Who can give me a whole script of SetPlayerDrunk . Because I don't know how to set a command that can type player id. Who can help me ? Thank you !  ;D
Anybody see my server: [Akatsuki]Konoha are pleased to come in. Why I choose that name? Because it just like in Naruto, got jutsu and mission based on Naruto's story. Sadly, only available for Friday, Saturday and Sunday. More sadly is maybe not available for 3 month starting from Jun.

Offline aledark24

  • Made Man
  • ***
  • Posts: 206
  • I am a scripter and you have celous of me....so you crashed my servers
    • View Profile
Re: Drunk ?
« Reply #1 on: June 22, 2013, 03:25:17 am »
i not understand all... so explain.. you need a command for give drunk to one player?? or all players?
I am a great scripter and you are celous of my works
.....

Vice City Life Multiplayer By Saint

Offline [Akatsuki]Itachi

  • Wiseguy
  • **
  • Posts: 65
  • I am just a normal ???? people.
    • View Profile
    • [Akatsuki]Konoha
Re: Drunk ?
« Reply #2 on: June 22, 2013, 03:40:28 am »
commands and all player(if can) , you are a good at script, I hope you can do one for all (other people can't)  :P
« Last Edit: June 22, 2013, 03:42:27 am by [Akatsuki]Itachi »
Anybody see my server: [Akatsuki]Konoha are pleased to come in. Why I choose that name? Because it just like in Naruto, got jutsu and mission based on Naruto's story. Sadly, only available for Friday, Saturday and Sunday. More sadly is maybe not available for 3 month starting from Jun.

Offline Doom

  • Made Man
  • ***
  • Posts: 105
    • View Profile
Re: Drunk ?
« Reply #3 on: June 22, 2013, 06:40:00 am »
[pawn]if( cmd == "drunk" )
{
SetPlayerDrunk(playerid,100,100);
}
[/pawn]

that will make the player drunk who type /c drunk.

[pawn]if( cmd == "drunkall" )
{
for (new playerid = 0; playerid < MAX_PLAYERS; playerid++)
   {
        if ( IsPlayerConnected(playerid) )
      {
         SetPlayerDrunk(playerid, 100, 100);
      }
   }
[/pawn]

That command will drunk all players when anyone types /c drunkall, maybe you can understand how to use the function now.

        playerid The ID of player


        visuals The visuals effects of player.


        handling The handling effect of player.


other people can't  :P

o'rly?

Offline [Akatsuki]Itachi

  • Wiseguy
  • **
  • Posts: 65
  • I am just a normal ???? people.
    • View Profile
    • [Akatsuki]Konoha
Re: Drunk ?
« Reply #4 on: June 22, 2013, 07:57:38 am »
sorry for the last sentence and you are great !  ;D
Anybody see my server: [Akatsuki]Konoha are pleased to come in. Why I choose that name? Because it just like in Naruto, got jutsu and mission based on Naruto's story. Sadly, only available for Friday, Saturday and Sunday. More sadly is maybe not available for 3 month starting from Jun.