Jump to content

Question

Posted

Am incercat sa fac urmatoarea comanda care sa scrie ceva despre id-ul x, dar mie nu imi merge, asa imi arata cand dau comanda: https://imgur.com/a/IuAztyb si imi pune cu CapsLock la fiecare comanda din script chiar daca nu am CapsLockul pornit.

 

Script:

:cmd_15
SAMP.IsCommandTyped(20@)
if
0AD4: 20@ = scan_string 20@ format "%d" 21@
then
 0B36: samp 1@ = get_player_nickname 21@
 0AF9: samp say_msg "Ce faci %s?" 1@
else
 {FFFFFF}chatmsg "{FFCC66}Syntax: [{FFFFFF}id{FFCC66}]"
end
SAMP.CmdRet()

1 answer to this question

Recommended Posts

  • 0
Posted (edited)

Nu se indeplineste conditia  20@ = scan_string 20@ format "%d" 21@

Edited by Gireada

 

1859311972_BANNER-GIREADAcopy-min.thumb.png.48e5e420ae2185dce5b244965a1d2601.png

 

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.