SA-MP Forums Archive
The player can not dive in water :O Why? - 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: The player can not dive in water :O Why? (/showthread.php?tid=257466)



The player can not dive in water :O Why? - tal_peretz - 26.05.2011

I pressed on the mouse to dive, and then on the space and the player get back above the water, anyone know why ?

Thanks.


Re: The player can not dive in water :O Why? - Lorenc_ - 26.05.2011

Restore your key settings if it dont work..

Must be ur script otherwise.


Re: The player can not dive in water :O Why? - tal_peretz - 26.05.2011

the problam is in the script.. but i don't know what to look for [that's work in other server]


Re: The player can not dive in water :O Why? - Lorenc_ - 26.05.2011

Is it an EDIT? check maybe onplayerupdate.


Re: The player can not dive in water :O Why? - tal_peretz - 26.05.2011

what edit?

what i need to fing? return? i don't realy now.....


Re: The player can not dive in water :O Why? - tal_peretz - 26.05.2011

I found the problam -

PHP код:
    if(IsKeyJustDown(KEY_SPRINT,newkeys,oldkeys))
    if(
GetPlayerSpecialAction(playerid) != && PlayerConnect[playerid] == 0)
        
StopLoopingAnim(playerid); 
I need it to stop anim when player use anim..... and because when player diving it's like anim...... so what is the anim of swimming? there is another problem that can happend because of that?

Thank you.


Re: The player can not dive in water :O Why? - tal_peretz - 27.05.2011

How can i check if player is diving ? please i need your help.