SA-MP Forums

Go Back   SA-MP Forums > Search Forums

Showing results 1 to 25 of 500
Search took 0.02 seconds.
Search: Posts Made By: SiaReyes
Forum: Scripting Help 31/03/2020, 03:59 PM
Replies: 21
Views: 475
Posted By SiaReyes
Re: messages related to joining/leaving/dm chating shows the admin ranks, but doesn't show the RCON one.

Dude, when you connect to server, you are not logged into rcon, so it returns false. That's why it doesn't show [RCON Admin].
Forum: Scripting Help 31/03/2020, 02:23 AM
Replies: 1
Views: 41
Posted By SiaReyes
Re: doubt command

new MoneyLock[MAX_PLAYERS];
CMD:recibirpaga(playerid,params[])
{
if(PlayerInfo[playerid][jMiembro] == 3)
{
if(MoneyLock[playerid] >= gettime()) return SendClientMessage(playerid, -1,...
Forum: Scripting Help 29/03/2020, 04:55 PM
Replies: 21
Views: 284
Posted By SiaReyes
Re: Problem interior

Check the interior co-ordinates of int_4 are right.
Forum: Scripting Help 29/03/2020, 03:24 PM
Replies: 4
Views: 85
Posted By SiaReyes
Re: MySQL save while Kick/Ban

Actually, I have an idea. Delay the ban/kick and save the player data before kick/ban.
Forum: Gamemode Scripts 29/03/2020, 11:29 AM
Replies: 3
Views: 517
Posted By SiaReyes
Re: Si Freeroam 2.0 (Full Version)

public OnPlayerDeath(playerid, killerid, reason)
{
PlayerInfo[playerid][pDeaths]++;

if(GetPlayerMoney(playerid) < 500)
{
SendClientMessage(playerid, CRED, "[SERVER]: You...
Forum: Scripting Help 29/03/2020, 11:07 AM
Replies: 5
Views: 135
Posted By SiaReyes
Re: /changename already exist name help

Fore more secure and faster method, I suggest you to use Calisthenics's method.
Forum: Scripting Help 29/03/2020, 05:49 AM
Replies: 5
Views: 74
Posted By SiaReyes
Re: SAMP_INCLUDES_VERSION warning

oh, can you show the full warning?
Forum: Scripting Help 29/03/2020, 05:46 AM
Replies: 21
Views: 475
Posted By SiaReyes
Forum: Scripting Help 29/03/2020, 05:43 AM
Replies: 5
Views: 74
Posted By SiaReyes
Re: SAMP_INCLUDES_VERSION warning

You can find that in a_samp.inc. I don't know for what it is used for. You can comment it!
public const SAMP_INCLUDES_VERSION = 0x037030;
Forum: Scripting Help 29/03/2020, 03:33 AM
Replies: 3
Views: 63
Posted By SiaReyes
Re: How to name someting

CMD:getjob(playerid)
{
if(PlayerInfo[playerid][pJob] == 1) return SendClientMessage(playerid, -1, "You are already in fisherman job");

return 1;
}
Forum: Scripting Help 29/03/2020, 03:24 AM
Replies: 5
Views: 135
Posted By SiaReyes
Re: /changename already exist name help

if(cache_num_rows()) return error;
Forum: Scripting Help 28/03/2020, 05:35 AM
Replies: 5
Views: 120
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: 196
[FilterScript] Yet Another House System
Views: 87,242
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: 268
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: 268
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: 268
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: 268
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: 268
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: 268
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: 3
Views: 671
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: 268
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: 196
[FilterScript] Yet Another House System
Views: 87,242
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: 756
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: 106
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: 133
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.
Showing results 1 to 25 of 500

 

All times are GMT. The time now is 12:27 PM.


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