[FilterScript] Weapons on body
#21

Decided to update this after a long time.

• Using OnPlayerUpdate now instead of timers for each player.
• Removed Command Processor, added the commands under OnPlayerCommandText.
• Removed sscanf2, it was unnecessary.
• Optimized the code where I could.
• Finally added a saving version (requires MySQL R40+).

Updated links in the thread.
Reply
#22

Quote:
Originally Posted by GoldenLion
View Post
Decided to update this after a long time.

• Using OnPlayerUpdate now instead of timers for each player.
• Removed Command Processor, added the commands under OnPlayerCommandText.
• Removed sscanf2, it was unnecessary.
• Optimized the code where I could.
• Finally added a saving version (requires MySQL R40+).

Updated links in the thread.
Some people do not understand mysql, make version for mysql and yini.
Reply
#23

Quote:
Originally Posted by HoussemGaming
View Post
Some people do not understand mysql, make version for mysql and yini.
You don't need to know SQL to set it up. Just create the database, paste the code and execute it. And I tried y_ini and dini, but the weapon settings were mixing. Someone could have someone else's weapon settings and believe me I did all correctly plus it was happening with both y_ini and dini.
Reply
#24

I've seen dozens of scripts like this.. but this one is definitely something unique & new. Allowing the players to edit their own weapon position is amazing! Great work!
Reply
#25

Quote:
Originally Posted by Chaprnks
View Post
I've seen dozens of scripts like this.. but this one is definitely something unique & new. Allowing the players to edit their own weapon position is amazing! Great work!
Well, can't say it's unique or new because there is one big server that has something like this and it gave me the idea. I think we all know what server I'm talking about, but there are really few servers that actually let you adjust the positions and there were no such filterscripts before and I know that there are so many people that want it so I decided to release this. Thanks!
Reply
#26

Impressive, good job.

Quote:
Originally Posted by GoldenLion
View Post
Well, can't say it's unique or new because there is one big server that has something like this and it gave me the idea. I think we all know what server I'm talking about
hehe :P
Reply
#27

Quote:
Originally Posted by cuber
View Post
Impressive, good job.
Thanks!
Reply
#28

wow this is crazy awesome
Reply
#29

Cool one, LS:RP style.
Reply
#30

cool, very nice.
Reply
#31

Do you have this version for MySQL version R33 (with save version?)
Reply
#32

dope
Reply
#33

C:\Users\41651\Desktop\GMS\Server 03dl\pawno\weaponedit.pwn(84) : error 017: undefined symbol "cache_get_row_count"
C:\Users\41651\Desktop\GMS\Server 03dl\pawno\weaponedit.pwn(8 : error 017: undefined symbol "cache_get_value_name_int"
C:\Users\41651\Desktop\GMS\Server 03dl\pawno\weaponedit.pwn(91) : error 017: undefined symbol "cache_get_value_name_float"
C:\Users\41651\Desktop\GMS\Server 03dl\pawno\weaponedit.pwn(92) : error 017: undefined symbol "cache_get_value_name_float"
C:\Users\41651\Desktop\GMS\Server 03dl\pawno\weaponedit.pwn(93) : error 017: undefined symbol "cache_get_value_name_float"
C:\Users\41651\Desktop\GMS\Server 03dl\pawno\weaponedit.pwn(95) : error 017: undefined symbol "cache_get_value_name_float"
C:\Users\41651\Desktop\GMS\Server 03dl\pawno\weaponedit.pwn(96) : error 017: undefined symbol "cache_get_value_name_float"
C:\Users\41651\Desktop\GMS\Server 03dl\pawno\weaponedit.pwn(97) : error 017: undefined symbol "cache_get_value_name_float"
C:\Users\41651\Desktop\GMS\Server 03dl\pawno\weaponedit.pwn(99) : error 017: undefined symbol "cache_get_value_name_int"
C:\Users\41651\Desktop\GMS\Server 03dl\pawno\weaponedit.pwn(100) : error 017: undefined symbol "cache_get_value_name_int"
C:\Users\41651\Desktop\GMS\Server 03dl\pawno\weaponedit.pwn(106) : error 017: undefined symbol "mysql_init_options"
C:\Users\41651\Desktop\GMS\Server 03dl\pawno\weaponedit.pwn(106) : warning 213: tag mismatch
C:\Users\41651\Desktop\GMS\Server 03dl\pawno\weaponedit.pwn(10 : error 017: undefined symbol "mysql_set_option"
C:\Users\41651\Desktop\GMS\Server 03dl\pawno\weaponedit.pwn(109) : warning 202: number of arguments does not match definition
C:\Users\41651\Desktop\GMS\Server 03dl\pawno\weaponedit.pwn(109) : warning 213: tag mismatch
C:\Users\41651\Desktop\GMS\Server 03dl\pawno\weaponedit.pwn(106) : warning 204: symbol is assigned a value that is never used: "options"
C:\Users\41651\Desktop\GMS\Server 03dl\pawno\weaponedit.pwn(11 : warning 213: tag mismatch
C:\Users\41651\Desktop\GMS\Server 03dl\pawno\weaponedit.pwn(124) : error 017: undefined symbol "NetStats_GetConnectedTime"
C:\Users\41651\Desktop\GMS\Server 03dl\pawno\weaponedit.pwn(152) : error 017: undefined symbol "NetStats_GetConnectedTime"
C:\Users\41651\Desktop\GMS\Server 03dl\pawno\weaponedit.pwn(177) : error 017: undefined symbol "mysql_format"
C:\Users\41651\Desktop\GMS\Server 03dl\pawno\weaponedit.pwn(177) : warning 202: number of arguments does not match definition
C:\Users\41651\Desktop\GMS\Server 03dl\pawno\weaponedit.pwn(177) : warning 202: number of arguments does not match definition
C:\Users\41651\Desktop\GMS\Server 03dl\pawno\weaponedit.pwn(177) : warning 202: number of arguments does not match definition
C:\Users\41651\Desktop\GMS\Server 03dl\pawno\weaponedit.pwn(17 : error 017: undefined symbol "mysql_tquery"
C:\Users\41651\Desktop\GMS\Server 03dl\pawno\weaponedit.pwn(19 : error 017: undefined symbol "mysql_format"
C:\Users\41651\Desktop\GMS\Server 03dl\pawno\weaponedit.pwn(19 : warning 202: number of arguments does not match definition
C:\Users\41651\Desktop\GMS\Server 03dl\pawno\weaponedit.pwn(19 : warning 202: number of arguments does not match definition
C:\Users\41651\Desktop\GMS\Server 03dl\pawno\weaponedit.pwn(19 : warning 202: number of arguments does not match definition
C:\Users\41651\Desktop\GMS\Server 03dl\pawno\weaponedit.pwn(19 : warning 202: number of arguments does not match definition
C:\Users\41651\Desktop\GMS\Server 03dl\pawno\weaponedit.pwn(19 : warning 202: number of arguments does not match definition
C:\Users\41651\Desktop\GMS\Server 03dl\pawno\weaponedit.pwn(199) : error 017: undefined symbol "mysql_tquery"
C:\Users\41651\Desktop\GMS\Server 03dl\pawno\weaponedit.pwn(233) : error 017: undefined symbol "mysql_format"
C:\Users\41651\Desktop\GMS\Server 03dl\pawno\weaponedit.pwn(233) : warning 202: number of arguments does not match definition
C:\Users\41651\Desktop\GMS\Server 03dl\pawno\weaponedit.pwn(233) : warning 202: number of arguments does not match definition
C:\Users\41651\Desktop\GMS\Server 03dl\pawno\weaponedit.pwn(233) : warning 202: number of arguments does not match definition
C:\Users\41651\Desktop\GMS\Server 03dl\pawno\weaponedit.pwn(233) : warning 202: number of arguments does not match definition
C:\Users\41651\Desktop\GMS\Server 03dl\pawno\weaponedit.pwn(233) : warning 202: number of arguments does not match definition
C:\Users\41651\Desktop\GMS\Server 03dl\pawno\weaponedit.pwn(233) : warning 202: number of arguments does not match definition
C:\Users\41651\Desktop\GMS\Server 03dl\pawno\weaponedit.pwn(233) : warning 202: number of arguments does not match definition
C:\Users\41651\Desktop\GMS\Server 03dl\pawno\weaponedit.pwn(233) : warning 202: number of arguments does not match definition
C:\Users\41651\Desktop\GMS\Server 03dl\pawno\weaponedit.pwn(233) : warning 202: number of arguments does not match definition
C:\Users\41651\Desktop\GMS\Server 03dl\pawno\weaponedit.pwn(233) : warning 202: number of arguments does not match definition
C:\Users\41651\Desktop\GMS\Server 03dl\pawno\weaponedit.pwn(234) : error 017: undefined symbol "mysql_tquery"
C:\Users\41651\Desktop\GMS\Server 03dl\pawno\weaponedit.pwn(319) : error 017: undefined symbol "mysql_format"
C:\Users\41651\Desktop\GMS\Server 03dl\pawno\weaponedit.pwn(319) : warning 202: number of arguments does not match definition
C:\Users\41651\Desktop\GMS\Server 03dl\pawno\weaponedit.pwn(319) : warning 202: number of arguments does not match definition
C:\Users\41651\Desktop\GMS\Server 03dl\pawno\weaponedit.pwn(319) : warning 202: number of arguments does not match definition
C:\Users\41651\Desktop\GMS\Server 03dl\pawno\weaponedit.pwn(319) : warning 202: number of arguments does not match definition
C:\Users\41651\Desktop\GMS\Server 03dl\pawno\weaponedit.pwn(319) : warning 202: number of arguments does not match definition
C:\Users\41651\Desktop\GMS\Server 03dl\pawno\weaponedit.pwn(320) : error 017: undefined symbol "mysql_tquery"
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


22 Errors.
how fix that?
Reply
#34

Quote:
Originally Posted by murilo2929
View Post
C:\Users\41651\Desktop\GMS\Server 03dl\pawno\weaponedit.pwn(84) : error 017: undefined symbol "cache_get_row_count"
C:\Users\41651\Desktop\GMS\Server 03dl\pawno\weaponedit.pwn(8 : error 017: undefined symbol "cache_get_value_name_int"
C:\Users\41651\Desktop\GMS\Server 03dl\pawno\weaponedit.pwn(91) : error 017: undefined symbol "cache_get_value_name_float"
C:\Users\41651\Desktop\GMS\Server 03dl\pawno\weaponedit.pwn(92) : error 017: undefined symbol "cache_get_value_name_float"
C:\Users\41651\Desktop\GMS\Server 03dl\pawno\weaponedit.pwn(93) : error 017: undefined symbol "cache_get_value_name_float"
C:\Users\41651\Desktop\GMS\Server 03dl\pawno\weaponedit.pwn(95) : error 017: undefined symbol "cache_get_value_name_float"
C:\Users\41651\Desktop\GMS\Server 03dl\pawno\weaponedit.pwn(96) : error 017: undefined symbol "cache_get_value_name_float"
C:\Users\41651\Desktop\GMS\Server 03dl\pawno\weaponedit.pwn(97) : error 017: undefined symbol "cache_get_value_name_float"
C:\Users\41651\Desktop\GMS\Server 03dl\pawno\weaponedit.pwn(99) : error 017: undefined symbol "cache_get_value_name_int"
C:\Users\41651\Desktop\GMS\Server 03dl\pawno\weaponedit.pwn(100) : error 017: undefined symbol "cache_get_value_name_int"
C:\Users\41651\Desktop\GMS\Server 03dl\pawno\weaponedit.pwn(106) : error 017: undefined symbol "mysql_init_options"
C:\Users\41651\Desktop\GMS\Server 03dl\pawno\weaponedit.pwn(106) : warning 213: tag mismatch
C:\Users\41651\Desktop\GMS\Server 03dl\pawno\weaponedit.pwn(10 : error 017: undefined symbol "mysql_set_option"
C:\Users\41651\Desktop\GMS\Server 03dl\pawno\weaponedit.pwn(109) : warning 202: number of arguments does not match definition
C:\Users\41651\Desktop\GMS\Server 03dl\pawno\weaponedit.pwn(109) : warning 213: tag mismatch
C:\Users\41651\Desktop\GMS\Server 03dl\pawno\weaponedit.pwn(106) : warning 204: symbol is assigned a value that is never used: "options"
C:\Users\41651\Desktop\GMS\Server 03dl\pawno\weaponedit.pwn(11 : warning 213: tag mismatch
C:\Users\41651\Desktop\GMS\Server 03dl\pawno\weaponedit.pwn(124) : error 017: undefined symbol "NetStats_GetConnectedTime"
C:\Users\41651\Desktop\GMS\Server 03dl\pawno\weaponedit.pwn(152) : error 017: undefined symbol "NetStats_GetConnectedTime"
C:\Users\41651\Desktop\GMS\Server 03dl\pawno\weaponedit.pwn(177) : error 017: undefined symbol "mysql_format"
C:\Users\41651\Desktop\GMS\Server 03dl\pawno\weaponedit.pwn(177) : warning 202: number of arguments does not match definition
C:\Users\41651\Desktop\GMS\Server 03dl\pawno\weaponedit.pwn(177) : warning 202: number of arguments does not match definition
C:\Users\41651\Desktop\GMS\Server 03dl\pawno\weaponedit.pwn(177) : warning 202: number of arguments does not match definition
C:\Users\41651\Desktop\GMS\Server 03dl\pawno\weaponedit.pwn(17 : error 017: undefined symbol "mysql_tquery"
C:\Users\41651\Desktop\GMS\Server 03dl\pawno\weaponedit.pwn(19 : error 017: undefined symbol "mysql_format"
C:\Users\41651\Desktop\GMS\Server 03dl\pawno\weaponedit.pwn(19 : warning 202: number of arguments does not match definition
C:\Users\41651\Desktop\GMS\Server 03dl\pawno\weaponedit.pwn(19 : warning 202: number of arguments does not match definition
C:\Users\41651\Desktop\GMS\Server 03dl\pawno\weaponedit.pwn(19 : warning 202: number of arguments does not match definition
C:\Users\41651\Desktop\GMS\Server 03dl\pawno\weaponedit.pwn(19 : warning 202: number of arguments does not match definition
C:\Users\41651\Desktop\GMS\Server 03dl\pawno\weaponedit.pwn(19 : warning 202: number of arguments does not match definition
C:\Users\41651\Desktop\GMS\Server 03dl\pawno\weaponedit.pwn(199) : error 017: undefined symbol "mysql_tquery"
C:\Users\41651\Desktop\GMS\Server 03dl\pawno\weaponedit.pwn(233) : error 017: undefined symbol "mysql_format"
C:\Users\41651\Desktop\GMS\Server 03dl\pawno\weaponedit.pwn(233) : warning 202: number of arguments does not match definition
C:\Users\41651\Desktop\GMS\Server 03dl\pawno\weaponedit.pwn(233) : warning 202: number of arguments does not match definition
C:\Users\41651\Desktop\GMS\Server 03dl\pawno\weaponedit.pwn(233) : warning 202: number of arguments does not match definition
C:\Users\41651\Desktop\GMS\Server 03dl\pawno\weaponedit.pwn(233) : warning 202: number of arguments does not match definition
C:\Users\41651\Desktop\GMS\Server 03dl\pawno\weaponedit.pwn(233) : warning 202: number of arguments does not match definition
C:\Users\41651\Desktop\GMS\Server 03dl\pawno\weaponedit.pwn(233) : warning 202: number of arguments does not match definition
C:\Users\41651\Desktop\GMS\Server 03dl\pawno\weaponedit.pwn(233) : warning 202: number of arguments does not match definition
C:\Users\41651\Desktop\GMS\Server 03dl\pawno\weaponedit.pwn(233) : warning 202: number of arguments does not match definition
C:\Users\41651\Desktop\GMS\Server 03dl\pawno\weaponedit.pwn(233) : warning 202: number of arguments does not match definition
C:\Users\41651\Desktop\GMS\Server 03dl\pawno\weaponedit.pwn(233) : warning 202: number of arguments does not match definition
C:\Users\41651\Desktop\GMS\Server 03dl\pawno\weaponedit.pwn(234) : error 017: undefined symbol "mysql_tquery"
C:\Users\41651\Desktop\GMS\Server 03dl\pawno\weaponedit.pwn(319) : error 017: undefined symbol "mysql_format"
C:\Users\41651\Desktop\GMS\Server 03dl\pawno\weaponedit.pwn(319) : warning 202: number of arguments does not match definition
C:\Users\41651\Desktop\GMS\Server 03dl\pawno\weaponedit.pwn(319) : warning 202: number of arguments does not match definition
C:\Users\41651\Desktop\GMS\Server 03dl\pawno\weaponedit.pwn(319) : warning 202: number of arguments does not match definition
C:\Users\41651\Desktop\GMS\Server 03dl\pawno\weaponedit.pwn(319) : warning 202: number of arguments does not match definition
C:\Users\41651\Desktop\GMS\Server 03dl\pawno\weaponedit.pwn(319) : warning 202: number of arguments does not match definition
C:\Users\41651\Desktop\GMS\Server 03dl\pawno\weaponedit.pwn(320) : error 017: undefined symbol "mysql_tquery"
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


22 Errors.
how fix that?
It's a matter of MySQL version, yours is different that the one used in the script.
Reply
#35

Quote:
Originally Posted by TheToretto
View Post
It's a matter of MySQL version, yours is different that the one used in the script.
where i can find the correct one? ty
Reply
#36

Quote:
Originally Posted by murilo2929
View Post
where i can find the correct one? ty
Quote:
Originally Posted by GoldenLion
View Post
(with saving, requires MySQL R40+)
According to the author, he's using the latest version, so R40+, here's the link
Reply
#37

Quote:
Originally Posted by TheToretto
View Post
According to the author, he's using the latest version, so R40+, here's the link
now this error appear.
C:\Users\41651\Desktop\GMS\Server 03dl\pawno\weaponedit.pwn(124) : error 017: undefined symbol "NetStats_GetConnectedTime"
C:\Users\41651\Desktop\GMS\Server 03dl\pawno\weaponedit.pwn(152) : error 017: undefined symbol "NetStats_GetConnectedTime"
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


2 Errors.
Reply
#38

Update your server's package to 0.3z or above.

Quote:
NetStats GetConnectedTime was added in SA-MP 0.3z This function was added in SA-MP 0.3z and will not work in earlier versions!

Reply
#39

Quote:
Originally Posted by TheToretto
View Post
Update your server's package to 0.3z or above.
this script don't go work in 03dl?
Reply
#40

Quote:
Originally Posted by murilo2929
View Post
this script don't go work in 03dl?
Sure it will work.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)