SA-MP Forums

Go Back   SA-MP Forums > Search Forums

Showing results 1 to 25 of 193
Search took 0.01 seconds.
Search: Posts Made By: Deathlane
Forum: Scripting Help 01/06/2015, 11:57 AM
Replies: 2
Views: 385
Posted By Deathlane
[MySQL] Getting data from 2 tables in 1 query

This is my query:

SELECT Count(*) AS Accounts, SUM(CASE WHEN Admin > 0 THEN 1 ELSE 0 END) AS Admins, SUM(CASE WHEN VIP = 1 THEN 1 ELSE 0 END) AS VIPs FROM Accounts

^ This gets the number of...
Forum: Plugin Development 26/05/2015, 04:08 AM
Replies: 5,758
[Plugin] Streamer Plugin
Views: 2,860,341
Posted By Deathlane
Re: Streamer Plugin

This bug has been here ever since.. This also happens with checkpoints.

AFAIK, this doesn't happen with pickups.
Forum: Scripting Help 23/05/2015, 02:19 AM
Replies: 5
Views: 507
Posted By Deathlane
Re: Fetching MySQL row crashes the server

Do you have another computer? Perhaps try running it there..
Forum: Scripting Help 22/05/2015, 09:02 AM
Replies: 3
Views: 9,608
Posted By Deathlane
Forum: Scripting Help 22/05/2015, 08:49 AM
Replies: 2
Views: 262
Posted By Deathlane
Re: Snippet for IP

Thanks, forgot about that one!

(Can't give rep anymore, sorry)
Forum: Scripting Help 22/05/2015, 08:35 AM
Replies: 9
Views: 448
Posted By Deathlane
Re: Mysql Errors In Server Log

Load nativechecker.so last.

crashdetect.so sscanf.so mysql.so streamer.so whirlpool.so nativechecker.so
Forum: Scripting Help 22/05/2015, 08:32 AM
Replies: 1
Views: 278
Posted By Deathlane
Re: Timeout in car...

Do you have codes under OnPlayerEnterVehicle and OnPlayerStateChange (PLAYER_STATE_DRIVER)? If yes, paste them here.
Forum: Scripting Help 22/05/2015, 08:28 AM
Replies: 5
Views: 507
Posted By Deathlane
Re: Fetching MySQL row crashes the server

Try downloading this (http://www.mediafire.com/download/g48bjzwuli7gz63/Microsoft.VC120.CRT.zip), which I got from the streamer release topic. Drag it to your server location (where samp-server.exe...
Forum: Scripting Help 22/05/2015, 08:25 AM
Replies: 2
Views: 262
Posted By Deathlane
Snippet for IP

Is there a snippet that gets the first 2 digits of an IP? For example, instead of getting "127.0.0.1", I get "127.0".

If there is, please paste it below.

Thanks in advance!
Forum: Scripting Help 22/05/2015, 04:16 AM
Replies: 1
Views: 297
Posted By Deathlane
Re: Plugin installing on Windows 7

I reinstalled Visual C++ components, from all years and it still doesn't work.

(I'm going back to v2.7 of streamer)

[SOLVED].



EDIT: I was able to install the latest! I forgot to drag the...
Forum: Scripting Help 21/05/2015, 02:35 PM
Replies: 1
Views: 297
Posted By Deathlane
Plugin installing on Windows 7

Hey, I tried updating my streamer to the latest and I'm getting these errors on start up:

[21:39:01] Error: Function not registered: 'CreateDynamic3DTextLabel'
[21:39:01] Error: Function...
Forum: Filterscripts 21/05/2015, 11:24 AM
Replies: 12
Views: 8,741
Posted By Deathlane
Re: Siren, Taxi Sign, Police Light for All vehicles

The taxi object rotation is a fail.. Good job, though
Forum: Scripting Help 21/05/2015, 11:14 AM
Replies: 8
Views: 483
Posted By Deathlane
Re: Possible? - Streamer

My code atm:

for(new i = 0; i < CountDynamicObjects(); i++)
{
if(!IsValidDynamicObject(i)) continue;
if(Streamer_GetIntData(STREAMER_TYPE_OBJECT, i, E_STREAMER_WORLD_ID) != WORLD_CSDM)...
Forum: Scripting Help 21/05/2015, 08:53 AM
Replies: 8
Views: 483
Posted By Deathlane
Re: Possible? - Streamer

It gives me this error:

*** Streamer_GetIntData: Invalid data specified

using this:

for(new i = 0; i < Streamer_CountItems(STREAMER_TYPE_OBJECT, 1); i++)
{
new World =...
Forum: Scripting Help 21/05/2015, 08:31 AM
Replies: 7
Views: 331
Posted By Deathlane
Re: How to Create Top Death and Drift?

If there's a way, it will definitely lag your server.
Forum: Scripting Help 21/05/2015, 08:23 AM
Replies: 8
Views: 483
Posted By Deathlane
Re: Possible? - Streamer

This is what I found in the topic:

native Streamer_GetIntData(type, {Text3D,_}:id, data);
native Streamer_CountItems(type, serverwide = 1);

Any ideas on how I can implement it on a simple...
Forum: Scripting Help 21/05/2015, 08:06 AM
Replies: 8
Views: 483
Posted By Deathlane
Possible? - Streamer

Is it possible to loop through all streamer objects and get whether that object is in world x?

I'm trying to loop through all objects in one world and destroy it after a few minutes without...
Forum: Filterscripts 21/05/2015, 04:24 AM
Replies: 4
[FilterScript] Teleports with dialog
Views: 1,304
Posted By Deathlane
Re: Teleports with dialog

Using MySQL is not a smart choice. Enums will work better in this case.
Forum: Scripting Help 21/05/2015, 04:20 AM
Replies: 22
Views: 1,155
Posted By Deathlane
Re: White Screen When Login to Server

Heard of this (http://pastebin.com)? Also, faulty bounds is when you set the player's position outside the map boundaries. I don't know the exact digits, though.
Forum: Filterscripts 19/05/2015, 01:09 PM
Replies: 16
[FilterScript] DDB System
Views: 3,497
Posted By Deathlane
Re: DDB System

A better way to ensure that he doesn't drive-by is to do it OnPlayerUpdate. (Checking if he is in a vehicle, if yes, set armed weapon to ID 0)

Anyhow good work.
Forum: Русский/Russian 15/05/2015, 06:06 AM
Replies: 2
Views: 740
Posted By Deathlane
Re: [ERROR] CMySQLQuery::Execute[]

Remove 'str' in each formats. You are not using %s to combine the queries anyways.

(Translate if you need to)
Forum: Maps 15/05/2015, 05:35 AM
Replies: 19
Views: 3,870
Posted By Deathlane
Re: ISLAND WITH MANSION

He's referring to the other maps you released

EDIT: Looks pretty nice tho
Forum: Scripting Help 14/05/2015, 07:30 AM
Replies: 6
Views: 2,059
Posted By Deathlane
Re: /rcon login >> Server closed the connection.

Make sure you are set as an administrator first before attempting to log in the RCON. (Level 4 and up)

Also, download Dini from here (http://dracoblue.net/downloads/dini/).
Forum: Maps 14/05/2015, 07:27 AM
Replies: 7
Views: 1,901
Posted By Deathlane
Re: Sensei || Racing League HQ

Good job, as always!
Forum: Includes 11/05/2015, 04:33 PM
Replies: 93
Views: 34,035
Posted By Deathlane
Re: BustAim - Detects players using aimbot

Let me get this straight -- does it check for aimbots on lagshot?
Showing results 1 to 25 of 193

 

All times are GMT. The time now is 04:24 PM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.