Monthly Target: $400 Donations: $131
 32% 

Showing results 1 to 25 of 208
Search took 0.04 seconds.
Search: Posts Made By: Starbish
Forum: Scripting 02-29-2016, 10:13
Replies: 4
Views: 213
Posted By Starbish
Re: [CS:GO] How to detect when sound emit?

You can test whether its sound could be hooked.

Just try it. that's the fastest way.
Forum: Scripting 02-24-2016, 11:23
Replies: 12
Views: 432
Posted By Starbish
Re: Spawning an entity

You can pass client's index by timer's 3rd parameter.



and you can use client index by changing your GetBanana()'s parameter.

before


after
Forum: Scripting 02-24-2016, 11:17
Replies: 1
Views: 119
Posted By Starbish
[MySQL] TConnect and other connect functions

(it's written here (https://sm.alliedmods.net/new-api/dbi/SQL_TConnect))

Does this mean i can connect to database with

SQL_Connect
SQL_ConnectEx
SQL_TConnect
SQL_ConnectCustom...
Forum: Scripting 12-04-2015, 09:43
Replies: 14
Views: 584
Posted By Starbish
Forum: Scripting 11-29-2015, 09:50
Replies: 14
Views: 782
Posted By Starbish
Re: Need mathematician

Well... it can be done by dividing poligon plate into triangle or square (maybe triangle is better though)

then you can get whether someone is inside of the triangles or squares.
Forum: Scripting 11-28-2015, 17:29
Replies: 6
Views: 268
Posted By Starbish
Re: Getting a funtion name by function ID

https://sm.alliedmods.net/new-api/functions/GetFunctionByName
Forum: Scripting 11-28-2015, 13:35
Replies: 0
Views: 73
Posted By Starbish
[MySQL] Transaction callback crashes

txnHandle.AddQuery(cQuery);

dbIndex.Execute(txnHandle, SQL_TxnOnSuccess_InsertRowForAllUser, SQL_TxnOnFailure_InsertRowForAllUser, client);
public void...
Forum: Scripting 11-28-2015, 12:14
Replies: 3
Views: 148
Posted By Starbish
Re: [MySQL] Transaction

ya. so i actually tell this like a suggestion
Forum: Scripting 11-28-2015, 10:58
Replies: 3
Views: 148
Posted By Starbish
[MySQL] Transaction

transaction methodmap must have a method or a field which indicates how many queries added since its creation.

i don't know where to write this so i write this here.
Forum: Scripting 11-25-2015, 02:17
Replies: 6
Views: 232
Posted By Starbish
Re: Did i do something wrong?

As far as i know, view_as operator must be used like this.

view_as<type>( var )

not this : view_as<type>var
Forum: Scripting 11-24-2015, 15:18
Replies: 6
Views: 232
Posted By Starbish
Re: Did i do something wrong?

never mind. i found a solution.

just wrap once more with ().



sol)

view_as<DataPack>(dpHandle[i]).ReadString(cTableList[iArrayIdx], MAX_TABLENAME_SIZE);
Forum: Scripting 11-24-2015, 15:04
Replies: 6
Views: 232
Posted By Starbish
Did i do something wrong?

view_as<DataPack>(dpHandle[i]).ReadString(cTableList[iArrayIdx], MAX_TABLENAME_SIZE);

dpHandle is "any" typed array which were sent by function callback.
and view them as DataPack for using...
Forum: Plugins 11-24-2015, 14:52
Replies: 56
Views: 7,293
Posted By Starbish
Re: [Any] S-Downloader : Automated Download & Precache Resources

Sorry for the inconvenience.

I've not considered .txt and .jpg format.

They'll be supported soon.
Forum: Scripting 11-19-2015, 20:33
Replies: 4
Views: 148
Posted By Starbish
Re: [TF2]What is KoreanA???

They might be korean and korean-for-adult.

Just a speculation though.
Forum: Scripting 11-18-2015, 05:45
Replies: 4
Views: 169
Posted By Starbish
Re: [MySQL] Bigint as string

Thank you for answering.
Forum: Scripting 11-18-2015, 00:59
Replies: 4
Views: 169
Posted By Starbish
[MySQL] Bigint as string

is it possible to get "bigint" typed column value as string in sourcemod?

like... getting "SteamID64 bigint" column with SQL_FetchString().
Forum: Plugin/Gameplay Ideas and Requests 11-15-2015, 14:49
Replies: 30
Views: 1,875
Posted By Starbish
Re: [REQUEST] Weapon skins / paints

where's that info from?
Forum: News 11-05-2015, 02:39
Replies: 35
Views: 7,503
Posted By Starbish
Re: SourceMod Development Roundup (1.7.2 - 03/11/15)

will this be able to be used globally?

like

int g_iUserVariable[MaxClients+1];
Forum: Plugins 11-05-2015, 02:38
Replies: 56
Views: 7,293
Posted By Starbish
Re: [Any] S-Downloader : Automated Download & Precache Resources

Is there any special reason why you added them on the custom folder?
Forum: Snippets and Tutorials 11-02-2015, 19:27
Replies: 62
Views: 7,050
Posted By Starbish
Re: [CS:GO] Custom Viewmodel

Isn't it already existed as a standalone plugin?
Forum: Scripting 10-26-2015, 02:54
Replies: 11
Views: 444
Posted By Starbish
Re: how to check server is full

isn't i should be 1 to MaxClients?

that seems 0 to MaxClients-1 to me.
Forum: Scripting 10-25-2015, 08:45
Replies: 5
Views: 313
Posted By Starbish
Re: How to find player with Steam 64 id?

you want something like this?

stock int FindPlayerBySteamID64(const char[] cSteamID64){

char cBuffer[30];

for(int i = 1; i <= MaxClients; i++){

if(IsClientConnected(i)){
Forum: Scripting 10-24-2015, 22:50
Replies: 6
Views: 287
Posted By Starbish
Re: Problem with SourcePawn 1.7

change
AddNormalSoundHook(NormalSHook EventSound);

to
AddNormalSoundHook(EventSound);
Forum: Plugin/Gameplay Ideas and Requests 10-20-2015, 04:52
Replies: 24
Views: 1,549
Posted By Starbish
Re: $$$ Looking for a new SM developer.

Your requirements seem quite complex. you're saying it as a standard but before you said that,

you should notify about your payment, compensation. then somebody will contact you without any...
Forum: General 10-20-2015, 01:56
Replies: 25
Views: 1,126
Posted By Starbish
Re: SM API login?

lel... my samsung tablet is fine though xD

Isn' that a problem of browser?
Showing results 1 to 25 of 208

 
Forum Jump

All times are GMT -4. The time now is 09:06.


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