SA-MP Forums

Go Back   SA-MP Forums > Search Forums

Showing results 1 to 25 of 312
Search took 0.01 seconds.
Search: Posts Made By: SiaReyes
Forum: Scripting Help 20/10/2019, 04:23 PM
Replies: 4
Views: 73
Posted By SiaReyes
Re: Text error help me!

You have declared a variable like


new text[]; // something like this


Either rename it and also rename in codes or remove it if it's not used.
Forum: Scripting Help 20/10/2019, 04:18 PM
Replies: 6
Views: 82
Posted By SiaReyes
Re: Show Notifications [Come in/Get out] Safezone

Streamer

public OnPlayerEnterDynamicArea(playerid, areaid)
public OnPlayerLeaveDynamicArea(playerid, areaid)


If Normal Area,

public OnPlayerEnterArea(playerid, areaid)
public...
Forum: Gamemode Scripts 20/10/2019, 02:04 AM
Replies: 19
Views: 5,593
Posted By SiaReyes
Re: 1 Hit Kill - A/D [SQLite]

I like it good job!
Forum: Scripting Help 17/10/2019, 05:55 PM
Replies: 7
Views: 169
Posted By SiaReyes
Re: I need help with a /blindfold command!

https://wiki.sa-mp.com/wiki/SetPlayerCameraPos
https://wiki.sa-mp.com/wiki/SetPlayerCameraLookAt
Forum: Scripting Help 11/10/2019, 03:57 PM
Replies: 3
Views: 113
Posted By SiaReyes
Re: Command Errors

Btw, i just noticed something that you missed to use SendClientMessage for this string format

new string[128];
format(string, sizeof string, "{6699FF}[ENVANTER] {FFFFFF}Oluşturulan ğe:...
Forum: Scripting Help 11/10/2019, 03:53 PM
Replies: 1
Views: 64
Posted By SiaReyes
Re: Textdraw script error

Maybe you are missing it's necessary plugin or folders in scriptfiles. Check the thread and the instructions.
Forum: Filterscripts 06/10/2019, 07:19 AM
Replies: 10
[FilterScript] Faction Mini Missions
Views: 981
Posted By SiaReyes
Re: Faction Mini Missions

Awsome good job!
Forum: Tutorials 30/09/2019, 06:22 AM
Replies: 15
Views: 5,241
Posted By SiaReyes
Re: 'Welcome to my server' messages.

It's a callback return but the code return.
You can learn about returns from here:
https://wiki.sa-mp.com/wiki/Control_Structures#return



Put the code at top of OnPlayerConnect.
Forum: Scripting Help 29/09/2019, 03:03 PM
Replies: 7
Views: 152
Posted By SiaReyes
Re: I need help with error 001:expected token...

Make sure the colors are in RBG format. Example:
#define COLOR_LIGHTBLUE ADD8E6
Forum: Scripting Help 29/09/2019, 01:13 PM
Replies: 13
Views: 340
Posted By SiaReyes
Re: Businesses won't save

There is a businesss save function called "Savebusiness(id)" in NG-RP/businessscore.pwn
Forum: Scripting Help 26/09/2019, 04:48 AM
Replies: 2
Views: 131
Posted By SiaReyes
Re: sqlite multiple results

This is what i used to list out top 3,
Maybe try editing this code to your favour!

new
DBResult:result,
racems,
name[30],
rstring[512];
new racemin,...
Forum: Scripting Help 26/09/2019, 04:44 AM
Replies: 13
Views: 273
Posted By SiaReyes
Re: Dynamic Checkpoint help needed

#define MAX_RCP 2

new CP_robbery[MAX_RCP], cstring[100];

public OnGamemodeInit()
{
CP_robbery[0] = CreateDynamicCP(2030.65906, -1097.66809, 28.66820,3.0,-1,-1,-1,100.0);
CP_robbery[1] =...
Forum: Filterscripts 26/09/2019, 04:33 AM
Replies: 10
Views: 1,977
Posted By SiaReyes
Re: Gang System [Version : Beta] [Mysql r41+]

Sorry, I left scripting!



Thanks bro!
Forum: Scripting Help 08/09/2019, 06:47 PM
Replies: 14
Views: 381
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: 227
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: 309
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: 372
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: 325
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: 372
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: 372
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: 372
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: 87
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: 325
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: 325
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: 169
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
Showing results 1 to 25 of 312

 

All times are GMT. The time now is 08:16 AM.


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