DrunkLevel - 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: DrunkLevel (
/showthread.php?tid=335419)
DrunkLevel -
Gooday - 18.04.2012
How could I make a command (drunk) who set NOT TOO MUCH the "drunk camera" and after 5 seconds it stops?
Re: DrunkLevel -
Cjgogo - 18.04.2012
pawn Код:
COMMAND:drunk(playerid,params[])
{
SetPlayerDrunkLevel(playerid,5000);
SetTimer("DrunkTime",5000,false);
SetPlayerDrunkLevel(playerid,0);
return 1;
}
Re: DrunkLevel -
Mark™ - 18.04.2012
You mean drunk animation cmd ?
Re: DrunkLevel -
Gooday - 18.04.2012
Drunk visual...
Re: DrunkLevel - kikito - 18.04.2012
Quote:
Originally Posted by Xtreme_playa
You mean drunk animation cmd ?
|
Ok, he means the drunk animation.
Re: DrunkLevel -
Mark™ - 18.04.2012
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 ?
Re: DrunkLevel -
Gooday - 18.04.2012
OMG...I mean you see the camera moving like a drunk not the drunk anim...
Re: DrunkLevel - kikito - 18.04.2012
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.
Re: DrunkLevel -
Mark™ - 18.04.2012
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.
Re: DrunkLevel -
Cjgogo - 18.04.2012
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