DrunkLevel
#1

How could I make a command (drunk) who set NOT TOO MUCH the "drunk camera" and after 5 seconds it stops?
Reply
#2

pawn Код:
COMMAND:drunk(playerid,params[])
{
   SetPlayerDrunkLevel(playerid,5000);
   SetTimer("DrunkTime",5000,false);
   SetPlayerDrunkLevel(playerid,0);
 return 1;
}
Reply
#3

You mean drunk animation cmd ?
Reply
#4

Drunk visual...
Reply
#5

Quote:
Originally Posted by Xtreme_playa
Посмотреть сообщение
You mean drunk animation cmd ?
Ok, he means the drunk animation.
Reply
#6

Quote:
Originally Posted by Gooday
Посмотреть сообщение
Drunk visual...
pawn Код:
CMD:drunk(playerid,params[])
 {
 ApplyAnimation(playerid,"PED","WALK_DRUNK",4.1,1,1 ,1,1,1,1);
 SendClientMessage(playerid,0xFFFF00AA,"Be careful! You're drunk! " );
 return 1;
 }
This ?
Reply
#7

OMG...I mean you see the camera moving like a drunk not the drunk anim...
Reply
#8

Quote:
Originally Posted by Gooday
Посмотреть сообщение
OMG...I mean you see the camera moving like a drunk not the drunk anim...
You can't put the player camera moving like a drunk with no animation on the player.
If you want, you need to create the camera movement script and create your own drunk camera.
Reply
#9

Quote:
Originally Posted by Gooday
Посмотреть сообщение
OMG...I mean you see the camera moving like a drunk not the drunk anim...
AFAIK, you need to apply animation with drunk level to get your camera view like a drunk.
Reply
#10

Quote:
Originally Posted by Xtreme_playa
Посмотреть сообщение
AFAIK, you need to apply animation with drunk level to get your camera view like a drunk.
No,lol,SetPlayerDrunkLevel implements camera moving but at high level,like 20000
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)