SA-MP Forums

Go Back   SA-MP Forums > Search Forums

Showing results 1 to 25 of 41
Search took 0.00 seconds.
Search: Posts Made By: YouShootIDodge
Forum: Scripting Help 29/03/2020, 11:35 AM
Replies: 3
Views: 69
Posted By YouShootIDodge
Re: Max enum size / big enums drawbacks?

The more enums you create, the more arrays you will use which ofc uses alot of data, even the empty array having the size of MAX_PLAYERS is memory consuming, so it's better if you use a single enum...
Forum: Gamemode Scripts 23/02/2020, 03:47 PM
Replies: 31
Views: 8,812
Posted By YouShootIDodge
Re: UGF Gamemode (MySQL/Y_INI) [Custom HQ Admin System]

Anyone who's looking for a fixed version of the .pwn file, check this :https://www.mediafire.com/file/0cp9pmq0ef6f9ch/freeroam.zip/file
Forum: Scripting Help 22/01/2020, 04:25 PM
Replies: 10
Views: 259
Posted By YouShootIDodge
Re: Comparing names in an enum

Just what NaS said, if you're confused, this is what the application looks like:

foreach(new i : Apartments)
{
if(strcmp(Name[playerid], aptInfo[i][apt_owner], true) != 0)
{
...
Forum: Scripting Help 06/01/2020, 07:25 AM
Replies: 3
Views: 161
Posted By YouShootIDodge
Re: What it means this code

mysql_function_query(Conecction, query, true, "OnQueryFinish", "ii", 0, playerid);mysql_function_query(Conecction, query, true, "OnQueryFinish", "ii", 0, playerid);

I presume this is an old...
Forum: Everything and Nothing 03/01/2020, 12:43 PM
Replies: 8
Views: 786
Posted By YouShootIDodge
Forum: Scripting Help 02/01/2020, 12:36 PM
Replies: 6
Views: 144
Posted By YouShootIDodge
Re: newline GameTextForPlayer not work

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 exp~n~", reward_exp);
...
Forum: Scripting Help 06/09/2019, 11:17 AM
Replies: 9
Views: 399
Posted By YouShootIDodge
Re: Drop an object a little in front

You will use the GetXY function like this:

new Float: x, Float: y, Float: a;

GetPlayerFacingAngle (playerid, a);
GetXYFront (x, y, a, 3.0);

// Now the position is stored in the variables x...
Forum: Scripting Help 27/08/2019, 09:15 PM
Replies: 23
Views: 775
Posted By YouShootIDodge
Re: Server logs

Create a variable to store the day (using getdate ofc):

new current_day;

Now whenever you while logs compare the day:

getdate(Year, Month, Day);

if (Day != current_day)
{
Forum: Scripting Help 13/08/2019, 12:24 PM
Replies: 6
Views: 229
Posted By YouShootIDodge
Re: numhash'd usernames

Dividing 2 same numbers by 100, the numbers will still be the same.
Forum: Scripting Help 13/08/2019, 10:17 AM
Replies: 2
Views: 147
Posted By YouShootIDodge
Re: auto capital letter chat

IDK if it works just made it up, test if it works:

Make an array of lowercase letters and uppercase with same sequence, example:

new lowercase_letters [5] = { 'a', 'b', 'c', 'd', 'e' };
new...
Forum: Everything and Nothing 31/07/2019, 01:17 PM
Replies: 7
Views: 1,248
Posted By YouShootIDodge
Re: I'm buying a new setup

A gaming laptop ... Is this a joke ?
Forum: Scripting Help 27/07/2019, 03:44 PM
Replies: 2
Views: 135
Posted By YouShootIDodge
Re: Vehivle demage

SetVehicleHealth (vehicleid, 999999);
Forum: Tutorials 26/07/2019, 02:48 PM
Replies: 69
Views: 18,699
Posted By YouShootIDodge
Re: Detailed Mapping Guide / Tips

Create another object after that. It will be fixed.
Forum: Tutorials 24/07/2019, 02:06 PM
Replies: 3
Views: 572
Posted By YouShootIDodge
Re: How To Create Random Spawns!

Thanks for the response, this tutorial was for the beginners as i said in the above introduction (please read that).

There are alot of beginners who are unable to understand the concept of...
Forum: Tutorials 23/07/2019, 06:39 PM
Replies: 3
Views: 572
Posted By YouShootIDodge
How To Create Random Spawns!

Creating Random Spawns

So this is a very simple, straight-forward tutorial on how to make random spawns.

For creating random spawns, there are 2 methods i can think of right now. First simple...
Forum: Scripting Help 22/07/2019, 02:36 PM
Replies: 3
Views: 128
Posted By YouShootIDodge
Re: Need simple help with text colors.

Hei

These ~w~ ~r~ ~b~ symbols work with only GameText and TextDraws, for Dialogs and ClientMessages you need hex colors, for example if you want the text to be half red and half white this will be...
Forum: Scripting Help 19/07/2019, 07:07 PM
Replies: 3
Views: 230
Posted By YouShootIDodge
Re: Run time error 19: "File or function is not found"

https://github.com/AGraber/samp-037-compat/releases

Download from here ^
Forum: Screenshots and Videos 16/07/2019, 06:50 AM
Replies: 10
Views: 1,372
Posted By YouShootIDodge
Re: SA-MP Casino Systen

Good job man, +REP
Forum: Screenshots and Videos 14/07/2019, 04:01 PM
Replies: 1
Views: 460
Posted By YouShootIDodge
Building Base

I made this for fun, there can be a mini-game made out of this:

https://*********/watch?v=FLWAIjViUvI&t

Skip to 0:35
Forum: Server Support 14/07/2019, 03:56 PM
Replies: 14,576
Views: 1,816,711
Posted By YouShootIDodge
Re: Looking for scripters/helpers? Post here!

I need someone to assist me in a project of mine. A mapper & tester to be specific.
Forum: Scripting Help 14/07/2019, 02:04 PM
Replies: 6
Views: 258
Posted By YouShootIDodge
Re: space on sscanf (strings)

Not possible, use dialogs.
Forum: Everything and Nothing 08/07/2019, 06:38 AM
Replies: 15
Views: 2,091
Posted By YouShootIDodge
Forum: Scripting Help 07/07/2019, 02:04 PM
Replies: 7
Views: 204
Posted By YouShootIDodge
Re: Text Error

You are using the wrong format specifier for a certain value. For-example '%d' for a string. '%s' for an interger.
Forum: Everything and Nothing 05/07/2019, 10:05 AM
Replies: 24
Views: 2,006
Posted By YouShootIDodge
Re: Favourite Genre of Music

- Electronic, Drum & Bass
- Lofi

Just to sum up : Almost everything featured by Mr.SuicideSheep
Forum: Everything and Nothing 04/07/2019, 08:08 PM
Replies: 19
Views: 1,958
Posted By YouShootIDodge
Re: How long did it take you to learn Pawn programming language?

1 month for basics. Its a very simple yet useful language to learn. I would recommend people to learn pawn as their first language as is gives you the basic concepts of almost all of the parts of the...
Showing results 1 to 25 of 41

 

All times are GMT. The time now is 11:23 PM.


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