SA-MP Forums

Go Back   SA-MP Forums > Search Forums

Showing results 1 to 25 of 32
Search took 0.00 seconds.
Search: Posts Made By: Flofey
Forum: Scripting Help 12/01/2020, 04:09 PM
Replies: 3
Views: 110
Posted By Flofey
Re: Crash

I'm not that expert in coding but maybe you should put
return
Forum: Scripting Help 12/01/2020, 02:49 PM
Replies: 3
Views: 127
Posted By Flofey
Re: y_ini problem

the line:

Bit_Set(read, start, true, INI_BUFFER_SIZE);

above it:

if (!Bit_GetBit(read, start) && !strcmp(name, YSI_g_sINIWriteBuffer[_:file][start][E_INI_WRITE_NAME]))
{...
Forum: Scripting Help 11/01/2020, 07:44 PM
Replies: 3
Views: 127
Posted By Flofey
y_ini problem

y_ini.inc(1050) : warning 202: number of arguments does not match definition

anything useful?
Forum: Scripting Help 11/01/2020, 02:03 PM
Replies: 3
Views: 130
Posted By Flofey
Re: looking for a scripter (ill pay if i must)

althought this is the wrong section but feel free to add me on discord for help!
Forum: Scripting Help 10/01/2020, 07:15 PM
Replies: 5
Views: 154
Posted By Flofey
Re: Help with SQLite.

SQLite is a database system.
why would like to use it for such a command like this, you may be asking right but be more clear please
Forum: Scripting Help 10/01/2020, 01:35 PM
Replies: 6
Views: 123
Posted By Flofey
Re: symbol already defined: "SetPVarInt"

When you removed ' new ' from this line you still getting error, but i guess it's coming from another line?
can you show us everything related with SetPVarInt?
Forum: Filterscripts 09/01/2020, 07:59 PM
Replies: 16
[FilterScript] IRC (Internet Relay Chat)
Views: 1,765
Posted By Flofey
Re: IRC (Internet Relay Chat)

Mate this is a tutorial why putting it in this section?
Forum: Scripting Help 04/01/2020, 05:14 PM
Replies: 3
Views: 104
Posted By Flofey
Re: sscanf issue

Why not doing it like that?

if(sscanf(params, "u", pID))
Forum: Tutorials 04/01/2020, 08:55 AM
Replies: 2
Views: 785
Posted By Flofey
Re: Make /freeze & /unfreeze command!

This thing is called variables.
Other than that you need to be more specific like for colors defining is it necessary to define colors to run these commands? Nope.
Why using * ii * format...
Forum: Scripting Help 02/01/2020, 07:34 PM
Replies: 12
Views: 247
Posted By Flofey
Re: Help me with the command /duty

Okay now try this:

#include <a_samp>
#include <zcmd>
#include <sscanf>
new
p_onDuty[MAX_PLAYERS] = 0,
p_oldSkin[MAX_PLAYERS] = -1
capable[MAX_PLAYERS];
;
Forum: Scripting Help 02/01/2020, 06:37 PM
Replies: 12
Views: 247
Posted By Flofey
Re: Help me with the command /duty

this is a command for setting someone on/off duty, once you set him and want him to go off duty just type again /setduty with his id and it will be disabled.

CMD:setduty(playerid,params)
{
...
Forum: Scripting Help 02/01/2020, 06:22 PM
Replies: 5
Views: 134
Posted By Flofey
Forum: Scripting Help 02/01/2020, 06:06 PM
Replies: 5
Views: 134
Posted By Flofey
Re: Checking if player is banned

Compiler crashed :_
Forum: Scripting Help 02/01/2020, 05:59 PM
Replies: 12
Views: 247
Posted By Flofey
Re: Help me with the command /duty

#include <a_samp>
#include <zcmd>
#include <sscanf>
new
p_onDuty[MAX_PLAYERS] = 0,
p_oldSkin[MAX_PLAYERS] = -1
;


public OnFilterScriptInit()
Forum: Scripting Help 02/01/2020, 04:55 PM
Replies: 6
Views: 144
Posted By Flofey
Re: newline GameTextForPlayer not work

had to test it to make it work,

try this now

if(reward_exp > 0 && reward_criminal > 0 && reward_cop > 0 && reward_money > 0)
{
format(str2, sizeof(str2), "~y~mission...
Forum: Scripting Help 02/01/2020, 04:28 PM
Replies: 5
Views: 134
Posted By Flofey
Checking if player is banned

so here is my code

if(fexist(string))
{
new INI:file = INI_Open(string);
if(INI_WriteInt(file,"Banned",1))
{
INI_WriteInt(file,"Banned",0);
...
Forum: Scripting Help 02/01/2020, 02:16 PM
Replies: 6
Views: 144
Posted By Flofey
Re: newline GameTextForPlayer not work

u mean like this?

new str[128], final[512];
format(str, sizeof(str), "~y~mission passed!~n~");
strcat(final, str);
if(reward_exp > 0) {
format(str, sizeof(str), "~w~+%i...
Forum: Scripting Help 02/01/2020, 02:12 PM
Replies: 34
Views: 1,365
Posted By Flofey
Forum: Scripting Help 02/01/2020, 02:02 PM
Replies: 1
Views: 95
Posted By Flofey
Re: Coomand /try

Hey can you please explain what does that command do? the function of it because of course i didn't get any of these spanish words
Forum: Scripting Help 01/01/2020, 02:16 PM
Replies: 4
Views: 127
Posted By Flofey
Re: Looking for command

well, it's not *request a script* section
Forum: Scripting Help 01/01/2020, 02:07 PM
Replies: 4
Views: 127
Posted By Flofey
Re: Looking for command

Just get a simple registeration system if u are not capable to create one and adjust some edits to it
Forum: Everything and Nothing 01/01/2020, 12:49 PM
Replies: 8
Views: 793
Posted By Flofey
Re: New Year Resolutions

It's literally worse than 2019 thx
and i have 1 only goal is to keep myself protected from it's goals :p
Forum: Scripting Help 20/11/2018, 01:12 AM
Replies: 2
Views: 331
Posted By Flofey
Re: warning 204: symbol is assigned a value that is never used

You didn't use the string variable you defined it above.
Forum: Filterscripts 18/11/2018, 06:23 AM
Replies: 4,014
Views: 2,185,150
Posted By Flofey
PlayerPlaySoundForAll Function

PlayerPlaySoundForAll function.


PlayerPlaySoundForAll(soundid, Float:x, Float:y, Float:z)
{
for(new i = 0; i < MAX_PLAYERS; i++)
{
PlayerPlaySound(i,soundid,Float:x, Float:y,...
Forum: Scripting Help 18/11/2018, 06:19 AM
Replies: 1
Views: 175
Posted By Flofey
Re: one Question

Add this line.

if(GetPlayerScore(playerid) < 50) return SendClientMessage(playerid, 0xf8f8f8f8fff,"ERROR: {F00f00}You need 50 score at-least to see admins List!");
Showing results 1 to 25 of 32

 

All times are GMT. The time now is 03:34 AM.


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