SA-MP Forums

Go Back   SA-MP Forums > Search Forums

Showing results 1 to 25 of 300
Search took 0.02 seconds.
Search: Posts Made By: SiaReyes
Forum: Scripting Help 08/09/2019, 06:47 PM
Replies: 14
Views: 344
Posted By SiaReyes
Re: Boombox

Is it like this?

BoomboxData[MAX_PLAYERS][info]
Forum: Scripting Help 05/09/2019, 02:12 PM
Replies: 9
Views: 213
Posted By SiaReyes
Re: /stats It doesn't works

C'mon lol, format the string and use strcat and put the dialog outside loop!
Forum: Scripting Help 27/08/2019, 03:09 PM
Replies: 11
Views: 273
Posted By SiaReyes
Re: TextDraws Keep Stacking

https://wiki.sa-mp.com/wiki/CreatePlayerTextDraw
Forum: Scripting Help 27/08/2019, 04:24 AM
Replies: 19
Views: 303
Posted By SiaReyes
Re: timer It doesn't

You can also do like this


enum d_info
{
Float:Player1X,
Float:Player1Y,
Float:Player1Z,
Float:Player1A,
Float:Player2X,
Forum: Scripting Help 26/08/2019, 03:47 PM
Replies: 12
Views: 297
Posted By SiaReyes
Re: Dynamic CP

Try using -1 instead '0' and check!
Forum: Scripting Help 26/08/2019, 03:43 PM
Replies: 19
Views: 303
Posted By SiaReyes
Re: timer It doesn't

He declared a variable , Float:DueloPos[MAX_ARENAS][9]

[9] = 0-8 Cells in the array. So, the first 7 cells are the positions and 8th cell is the Virtual World.

Let's take the first area....
Forum: Scripting Help 26/08/2019, 03:31 PM
Replies: 19
Views: 303
Posted By SiaReyes
Re: timer It doesn't

Take a look at this.




He added 9th array as Virtual World.
Forum: Scripting Help 26/08/2019, 03:24 PM
Replies: 19
Views: 303
Posted By SiaReyes
Re: timer It doesn't

SetPlayerInterior(id1,DueloPos[arenaid][9]);
SetPlayerInterior(id2,DueloPos[arenaid][9]);

The VW array value is in 9 not 8.
Forum: Scripting Help 26/08/2019, 05:02 AM
Replies: 2
Views: 81
Posted By SiaReyes
Re: MySQL Error 1364 - Is there a way to set the default value of all variables in a table?

`CSlot2` int(11) UNSIGNED NOT NULL DEFAULT '0'

You didn't provide the default value for the coulmn
Forum: Scripting Help 26/08/2019, 04:57 AM
Replies: 12
Views: 297
Posted By SiaReyes
Re: Dynamic CP

So, you got your solution.

Keep that you are ID 0.

In CP the playerid paramater is -1, which -1 means the cp will be shown to everyone.
In Mapicon the playerid paramter is 0, which means it...
Forum: Scripting Help 25/08/2019, 05:09 PM
Replies: 12
Views: 297
Posted By SiaReyes
Re: Dynamic CP

You tested it with your ID as 0?
Forum: Scripting Help 25/08/2019, 03:23 PM
Replies: 5
Views: 162
Posted By SiaReyes
Re: SetVisibleItems Problem

In the name of god, we are not gods to see what's the issue if the above provided codes are not working.

Maybe check this https://forum.sa-mp.com/showpost.php?p=2800591&postcount=2
Forum: Scripting Help 25/08/2019, 02:42 PM
Replies: 3
Views: 85
Posted By SiaReyes
Re: MySQL help

Why not see this registration tutorial.
https://forum.sa-mp.com/showthread.php?t=627520
Forum: Scripting Help 25/08/2019, 10:54 AM
Replies: 2
Views: 108
Posted By SiaReyes
Re: Random Values +REP

CMD:medicine(playerid)
{
switch(random(4))
{
case 0 : PlayerInfo[playerid][Medkit] += random(5)+1; // (0-4) + 1 = Gives random amount between 1-5;
case 1: ...
Forum: Scripting Help 25/08/2019, 10:49 AM
Replies: 4
Views: 157
Posted By SiaReyes
Re: keys

https://wiki.sa-mp.com/wiki/GetPlayerKeys
Forum: Scripting Help 24/08/2019, 02:40 PM
Replies: 7
Views: 142
Posted By SiaReyes
Re: help me

#include <foreach>
#include <FoxForeach>

Why do you use FoxForeach while you have included foreach.inc?
Forum: Scripting Help 24/08/2019, 11:42 AM
Replies: 2
Views: 66
Posted By SiaReyes
Re: Dialog Help

Check this
https://www.computerhope.com/jargon/t/ternaryoperator.htm
Forum: Scripting Help 24/08/2019, 09:48 AM
Replies: 10
Views: 187
Posted By SiaReyes
Re: What is the basis of this game mod?

it's a roleplay gamemode dude
Forum: Scripting Help 24/08/2019, 09:42 AM
Replies: 10
Views: 187
Posted By SiaReyes
Re: What is the basis of this game mod?

You mean the plugins and includes?
Forum: Gamemode Scripts 24/08/2019, 08:16 AM
Replies: 23
Views: 11,886
Posted By SiaReyes
Re: [BASIC] Motion RolePlay (MySQL)

You need these
includes: izcmd, foreach,easyDialog
Pluings - Mysql r41-4 , sscanf2, streamer (latest) and log-plugin.
Forum: Scripting Help 24/08/2019, 07:20 AM
Replies: 10
Views: 187
Posted By SiaReyes
Re: What is the basis of this game mod?

You mean the features or what?
Forum: Scripting Help 24/08/2019, 07:01 AM
Replies: 9
Views: 137
Posted By SiaReyes
Re: Undefined Symbol even when I have defined it

Show us the full error. have you defined MAX_GANGS ?
#define MAX_GANGS 6
Forum: Everything and Nothing 24/08/2019, 06:59 AM
Replies: 15
Views: 1,441
Posted By SiaReyes
Re: This community got me into a university.

Haha same here too. I learned English from this community.
Forum: Scripting Help 24/08/2019, 03:31 AM
Replies: 5
Views: 189
Posted By SiaReyes
Re: Streamer drawdistance.

Stream Distance parameter in CreateDynamicObject can be 200.0 - 300.0
Float:streamdistance = 300.0

//On top of gamemode
#define VISIBLE_ITEMS 900

// In on gamemode init...
Forum: Scripting Help 23/08/2019, 02:38 PM
Replies: 1
Views: 68
Posted By SiaReyes
Re: roleplay mod mysql search

Go here (https://forum.sa-mp.com/search.php)
Showing results 1 to 25 of 300

 

All times are GMT. The time now is 11:55 AM.


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