SA-MP Forums

Go Back   SA-MP Forums > Search Forums

Showing results 1 to 25 of 500
Search took 0.03 seconds.
Search: Posts Made By: SiaReyes
Forum: Scripting Help 28/03/2020, 05:35 AM
Replies: 5
Views: 101
Posted By SiaReyes
Re: Help For Top Player Mysql R41+

"SELECT money FROM accounts ORDERBY money DESC LIMIT 30;"

This is the query, you can set limit like how many players you want to display. 30 would be enough.
Forum: Filterscripts 24/03/2020, 03:21 PM
Replies: 195
[FilterScript] Yet Another House System
Views: 85,878
Posted By SiaReyes
Re: Yet Another House System

You can search for tutorials in this forum such as "How to use pawn", "How to start a samp server"
Forum: Scripting Help 24/03/2020, 09:16 AM
Replies: 21
Views: 235
Posted By SiaReyes
Re: mysql_tquery not calling callback.

Or just put the InitCarData(); after few lines of codes.(even try at last)
Forum: Scripting Help 24/03/2020, 08:21 AM
Replies: 21
Views: 235
Posted By SiaReyes
Re: mysql_tquery not calling callback.

Try mysql_pquery instead mysql_tquery.
Forum: Scripting Help 24/03/2020, 08:13 AM
Replies: 21
Views: 235
Posted By SiaReyes
Re: mysql_tquery not calling callback.

You mean the LoadCarData is called but no data is loaded?
Forum: Scripting Help 24/03/2020, 08:08 AM
Replies: 21
Views: 235
Posted By SiaReyes
Re: mysql_tquery not calling callback.

Do you have datas in car table?
Forum: Scripting Help 24/03/2020, 07:34 AM
Replies: 21
Views: 235
Posted By SiaReyes
Re: mysql_tquery not calling callback.

Check the edit I made in my previous reply.
Forum: Scripting Help 24/03/2020, 07:32 AM
Replies: 21
Views: 235
Posted By SiaReyes
Re: mysql_tquery not calling callback.

Does "Loaded %d cars" is printed in console/server log?

Try this: put the mysql_tquery after the MySQL connection code.
Forum: Gamemode Scripts 24/03/2020, 06:32 AM
Replies: 4
Views: 406
Posted By SiaReyes
Re: Si Freeroam 1.0 (Alpha)

Good Gamemode. Hope you will release mySQL version.

I spotted a small issue in code under OnPlayerDeath. You didn't check whether the killerid is vaid a player.
Forum: Scripting Help 24/03/2020, 04:50 AM
Replies: 21
Views: 235
Posted By SiaReyes
Cool Re: mysql_tquery not calling callback.

InitLoadCars(){

mysql_tquery(db, "SELECT * FROM `cars` ORDERBY `car_id`, "LoadCarData");
return true;
}

Try this
Forum: Filterscripts 24/03/2020, 04:29 AM
Replies: 195
[FilterScript] Yet Another House System
Views: 85,878
Posted By SiaReyes
Re: Yet Another House System

Script uses sscanf,streamer and MySQL r39-6
Forum: Scripting Help 24/03/2020, 03:28 AM
Replies: 33
Views: 624
Posted By SiaReyes
Re: Duplicate Object

https://forum.sa-mp.com/showpost.php?p=1879984&postcount=2

Use this.
Forum: Scripting Help 24/03/2020, 03:20 AM
Replies: 4
Views: 86
Posted By SiaReyes
Re: Plugin? Include?

forum.sa-mp.com/showthread.php?t=427227
Forum: Scripting Help 24/03/2020, 03:12 AM
Replies: 5
Views: 109
Posted By SiaReyes
Re: Is Possible To Add Nitro On Helicopter/Plane?

You can add nitro to planes & helicopter, I had it in my server.
Forum: Scripting Help 23/03/2020, 01:21 PM
Replies: 33
Views: 624
Posted By SiaReyes
Re: Duplicate Object

As i know, it will cause problems in future. So, i suggest you to use Edit option ,so that you can edit rotation/position of objects.
Forum: Scripting Help 23/03/2020, 01:14 PM
Replies: 33
Views: 624
Posted By SiaReyes
Forum: Scripting Help 23/03/2020, 01:09 PM
Replies: 33
Views: 624
Posted By SiaReyes
Re: Duplicate Object

Might be you're duplicating an object which is above a few height from the road. So, remove '+2' and Try this

EditDynamicObject(playerid, CopObjectData[id][ObjID]); // put this at last in the...
Forum: Scripting Help 23/03/2020, 12:45 PM
Replies: 33
Views: 624
Posted By SiaReyes
Re: Duplicate Object

CopObjectData[id][ObjID] = CreateDynamicObject(CopObjectData[id][ObjModel], x+2, y, z, 0.0, 0.0, a, CopObjectData[id][ObjVirtualWorld], CopObjectData[id][ObjInterior]);
Try this, or i suggest you to...
Forum: Scripting Help 23/03/2020, 12:11 PM
Replies: 33
Views: 624
Posted By SiaReyes
Re: Duplicate Object

Yeah didn't notice if(!CopObjectData[cloneid][ObjCreated]) return SendClientMessage(playerid, -1, "Object Doesn't not exists!");. Glad that it was fixed.
Forum: Scripting Help 23/03/2020, 02:43 AM
Replies: 33
Views: 624
Posted By SiaReyes
Re: Duplicate Object

if(IsPlayerInRangeOfPoint(playerid, 5.0, CopObjectData[i][ObjX], CopObjectData[i][ObjY], CopObjectData[i][ObjZ]))

try this and check
Forum: Scripting Help 23/03/2020, 02:40 AM
Replies: 2
Views: 87
Posted By SiaReyes
Re: Gta sa mission textdraw

I think I saw some posts regarding this and it had the textdraw, just search for single player mission textdraw in forum.

Edit: https://forum.sa-mp.com/showthread.php?t=658636
Forum: Scripting Help 22/03/2020, 02:40 PM
Replies: 1
Views: 70
Posted By SiaReyes
Re: strval with inputtext

if(strval(inputtext) < 1 || strval(inputtext) > 31) return ShowPlayerDialog..
Should bd like this and don't use single quotes ' ' for Integers.

That MySQL error shows up only when you do this?
...
Forum: Scripting Help 22/03/2020, 10:14 AM
Replies: 2
Views: 50
Posted By SiaReyes
Re: PLEASE HELP!

CMD:setwanted(playerid , params[])
{
if (!IsPlayerAdmin(playerid)) return SendClientMessage(playerid , -1 , "Nu esti politist.");

if(sscanf(params ,"ri" ,targetid , vwanted)) return...
Forum: Screenshots and Videos 22/03/2020, 08:43 AM
Replies: 7
Views: 363
Posted By SiaReyes
Re: Admin Panel [ TEXTDRAWS ]

Great Job. Is that only textdraw or you made script?
Forum: Scripting Help 22/03/2020, 07:27 AM
Replies: 5
Views: 100
Posted By SiaReyes
Re: Animation ID

https://i.ibb.co/zsT76pZ/image.png

This?
Showing results 1 to 25 of 500

 

All times are GMT. The time now is 12:45 AM.


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