Raised This Month: $51 Target: $400
 12% 

Showing results 1 to 25 of 85
Search took 0.02 seconds.
Search: Posts Made By: davidto1995
Forum: Scripting Help 05-12-2021, 13:03
Replies: 2
Views: 493
Posted By davidto1995
Re: Print '%' in HUD

I tried %% but nothing shows up. However, %%%% works. I wonder why %%%% should be used instead?
Forum: Scripting Help 05-11-2021, 14:47
Replies: 2
Views: 493
Posted By davidto1995
Print '%' in HUD

I have tried to use "%%" to show '%' in HUD messages but it shows nothing.

What should be the correct formatting rules?
Forum: Scripting Help 05-05-2021, 19:10
Replies: 2
Views: 675
Posted By davidto1995
Re: Hooking ScreenFade

Thanks it is solved.
Forum: Scripting Help 05-02-2021, 03:25
Replies: 2
Views: 675
Posted By davidto1995
Hooking ScreenFade

I tried to hook ScreenFade messages and block some of them.


register_message( get_user_msgid( "ScreenFade" ) , "msgScreenFade" ); // Hook ScreenFade messages



public msgScreenFade( msg_id...
Forum: Scripting Help 05-01-2021, 10:26
Replies: 7
Views: 1,040
Posted By davidto1995
Re: How to pass tagged variable to other plugins

Thank you guys. Clear my minds now.
Forum: Scripting Help 04-25-2021, 12:02
Replies: 7
Views: 1,040
Posted By davidto1995
Re: How to pass tagged variable to other plugins

For other plugins if GetPlayerType() is also needed to be called, do I need to enum PlayerClass3, 4, ... for each of the plugin?
Forum: Scripting Help 04-25-2021, 12:00
Replies: 7
Views: 1,040
Posted By davidto1995
Re: How to pass tagged variable to other plugins

It is fixed, thank you.

Does it mean than by stripping the tag, the memory address of the PlayerType[ id ] will be passed as parameter instead?
Forum: Scripting Help 04-25-2021, 05:41
Replies: 7
Views: 1,040
Posted By davidto1995
How to pass tagged variable to other plugins

I have the following codes in plugin A:


enum PlayerClass
{

SDU, // Human Type
Soldier,
Heavy,
Supporter,
Forum: Scripting Help 03-17-2021, 01:52
Replies: 2
Views: 651
Posted By davidto1995
Ham_TakeDamage not working

I would like execute a damage to a player - code (1)

However, the damage is done only if ExecuteHam is used instead of ExecuteHamB

Does this imply a Ham_TakeDamage virtual function hooked...
Forum: Scripting Help 03-02-2021, 09:18
Replies: 2
Views: 458
Posted By davidto1995
Re: Player out of range

Thank you so much. The problem is solved.
Forum: Scripting Help 03-02-2021, 08:39
Replies: 2
Views: 458
Posted By davidto1995
Player out of range

new const SHOWHUD_ID = 200;

public client_connect(id)
{
get_user_name(id, gPlayerName[id], charsmax(gPlayerName[]));
set_task(0.5, "ShowHUD", id+SHOWHUD_ID, _, _, "b");
}

public...
Forum: Others 08-07-2011, 11:37
Replies: 4
Views: 3,192
Posted By davidto1995
Forum: Scripting Help 08-04-2011, 04:38
Replies: 40
Views: 7,393
Posted By davidto1995
Re: SQL SYNTAX ERROR[UPDATED]

OK I WILL TRY TO FIX IT ON MY OWN
(Don't need helping hands as i wanted to use my brain) :)

PS:
i try it
client can save and load their data
but the problem is
if HLSD is turned off and...
Forum: Scripting Help 08-04-2011, 04:28
Replies: 40
Views: 7,393
Posted By davidto1995
Re: SQL SYNTAX ERROR[UPDATED]

YOU MEAN THAT I HAVE NO MISTAKES WITH MY
(HOSTNAME, USERNAME, PASSWORD, DATABASE)?
Forum: Scripting Help 08-03-2011, 16:45
Replies: 40
Views: 7,393
Posted By davidto1995
Re: SQL SYNTAX ERROR[UPDATED]

no.
but i am confused with MySQL(heard, never dealt with it)

i google MySQL
i install a software which is provided by that website
http://www.mysql.com/downloads/mysql/(MySQL Community Server...
Forum: Scripting Help 08-03-2011, 16:01
Replies: 40
Views: 7,393
Posted By davidto1995
Re: SQL SYNTAX ERROR[UPDATED]

now , no error found

but the data will not save

i think it may be related to MySQL Server

how to create a MySQL Server?
It needs a software?

i am not sure what i should filled in the...
Forum: Scripting Help 08-03-2011, 14:33
Replies: 40
Views: 7,393
Posted By davidto1995
Re: SQL SYNTAX ERROR[UPDATED]

yes...
why it won't work , it makes sense
Forum: Scripting Help 08-03-2011, 14:30
Replies: 40
Views: 7,393
Posted By davidto1995
Re: SQL SYNTAX ERROR[UPDATED]

to save data(boolean)

ps: i am disheartened of this script..
Forum: Scripting Help 08-03-2011, 14:27
Replies: 40
Views: 7,393
Posted By davidto1995
Re: SQL SYNTAX ERROR[UPDATED]

array size changed.
btw
another error appeared :cry:

Plugin says: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use...
Forum: Scripting Help 08-03-2011, 13:50
Replies: 40
Views: 7,393
Posted By davidto1995
Re: SQL SYNTAX ERROR[UPDATED]

what do you mean by little array?
Forum: Scripting Help 08-03-2011, 13:43
Replies: 40
Views: 7,393
Posted By davidto1995
Forum: Scripting Help 08-03-2011, 13:20
Replies: 40
Views: 7,393
Posted By davidto1995
Re: SQL SYNTAX ERROR[UPDATED]

tried.
console = a little part
log = half

optimized
Forum: Scripting Help 08-03-2011, 13:01
Replies: 40
Views: 7,393
Posted By davidto1995
Re: SQL SYNTAX ERROR[UPDATED]

i wil try it now:)

ps:tried.Cannot print it out completely since MSG is too long(i think)
Forum: Scripting Help 08-03-2011, 12:48
Replies: 40
Views: 7,393
Posted By davidto1995
Re: SQL SYNTAX ERROR[UPDATED]

another error:

Plugin says: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ''' at line 1


After...
Forum: Scripting Help 08-03-2011, 10:57
Replies: 40
Views: 7,393
Posted By davidto1995
Re: SQL SYNTAX ERROR[UPDATED]

thx
BTW
can you find the error?
Showing results 1 to 25 of 85

 
Forum Jump

All times are GMT -4. The time now is 11:08.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode