SA-MP Forums

Go Back   SA-MP Forums > Search Forums

Showing results 1 to 25 of 89
Search took 0.01 seconds.
Search: Posts Made By: nomadsocio
Forum: Scripting Help 05/08/2020, 11:15 AM
Replies: 2
Views: 34
Posted By nomadsocio
Forum: Scripting Help 05/08/2020, 11:09 AM
Replies: 2
Views: 34
Posted By nomadsocio
animation inside vehicle problem

hey, i m making a death system and i want the player to play a certain animation when he dies inside a vehicle. The problem is that he's the only one who sees the animation, and everybody else...
Forum: Scripting Help 04/08/2020, 09:50 AM
Replies: 4
Views: 149
Posted By nomadsocio
Forum: Scripting Help 03/08/2020, 06:23 PM
Replies: 4
Views: 149
Posted By nomadsocio
Forum: Scripting Help 02/08/2020, 06:47 PM
Replies: 4
Views: 149
Posted By nomadsocio
Re: how can i save an iterator with mysql r41-4

but here is how i made it first:

Dialog:PoliceCarMenu(playerid, response, listitem, inputtext[])
{
if(response)
{
new string[72];
switch(listitem)
{
case 1:
Forum: Scripting Help 02/08/2020, 06:20 PM
Replies: 4
Views: 149
Posted By nomadsocio
how can i save an iterator with mysql r41-4

hello, i want to make a vehicle ownership system.
i tried with this but it takes too much queries and i think that's not good for the script:
enum PlayerData
{
Vehicle[8]
};
new...
Forum: Scripting Help 19/07/2020, 10:45 AM
Replies: 1
Views: 158
Posted By nomadsocio
how can i make this

hello, i want the players to have their custom cars. for example, a police ranger instead of the lspd cruiser.
But i can't put CreateVehicles(lobby) in the foreach because the suspect will no longer...
Forum: Scripting Help 17/07/2020, 01:30 PM
Replies: 1
Views: 119
Posted By nomadsocio
foreach question

hey, how can i turn this

for(new x = 0; x < MAX_LOBBIES; x++)
{
if(LobbyInfo[x][Active] == 1)
{

}
}
Forum: Scripting Help 16/07/2020, 02:22 PM
Replies: 5
Views: 142
Posted By nomadsocio
if, else, else if, problem

i wanted to make a lobby system, when the first one is full, start filling the second one, and so on. But when i connect i get added in every lobby, what's the problem?


public...
Forum: Scripting Help 13/07/2020, 11:20 AM
Replies: 0
Views: 92
Posted By nomadsocio
if userartwork == 1, i spawn undermap

even if I comment the lines, I still spawn under map, at coordinates 0, 0, 0. but if i put userartwork on 0, it works perfectly fine


AddCharModel(280, 20001, "afrocop.dff", "afrocop.txd");...
Forum: Scripting Help 12/07/2020, 04:38 PM
Replies: 3
Views: 215
Posted By nomadsocio
player's colors problem

i put SetPlayerColor(playerid, 0xFFFFFF00); in OnPlayerConnect so the player is invisible.
the problem is, if I connect to the server, everybody sees me with a white nametag and no marker (as it...
Forum: Scripting Help 09/07/2020, 12:30 PM
Replies: 3
Views: 87
Posted By nomadsocio
Forum: Scripting Help 09/07/2020, 10:18 AM
Replies: 3
Views: 87
Posted By nomadsocio
Re: vehicle problem

it doesn't work, i still get the "All the suspect cars are occupied." even if the car isnt occupied
Forum: Scripting Help 09/07/2020, 10:11 AM
Replies: 3
Views: 87
Posted By nomadsocio
vehicle problem

at first it works normal, but after 2-3 games the player gets the "All the cop/suspect cars are occupied." message.
i put OccupiedVeh[....] = 0; when the game ends, but it doesn't work


public...
Forum: Scripting Help 05/07/2020, 08:00 PM
Replies: 2
Views: 114
Posted By nomadsocio
Forum: Scripting Help 05/07/2020, 05:09 PM
Replies: 2
Views: 114
Posted By nomadsocio
count down problem

hello, I tested this in 2 players. When the countdown ends, only one player enters the game.

how it's meant to be: https://i.imgur.com/pzQOcZj.png
the bugged player:...
Forum: Scripting Help 13/06/2020, 02:14 PM
Replies: 2
Views: 124
Posted By nomadsocio
how to select multiple random players?

as the title says, I want to know how can I create a stock that selects multiple random players
when the countdown is 0, 4 players will be selected as team 1 and the rest of the players will be...
Forum: Scripting Help 24/05/2020, 04:11 PM
Replies: 1
Views: 86
Posted By nomadsocio
unknown amx loaded

hello, can someone explain me what could this be:

Loading filterscript 'animlist.amx'...
AMX (43849056) loaded
Loading filterscript 'mapping.amx'...
AMX (43681888) loaded
Loaded 2...
Forum: Scripting Help 24/05/2020, 01:58 PM
Replies: 5
Views: 181
Posted By nomadsocio
Re: what's the problem with this string?

it doesn't work


that's why I'm splitting the message in 2 lines
Forum: Scripting Help 24/05/2020, 11:06 AM
Replies: 5
Views: 181
Posted By nomadsocio
what's the problem with this string?

If a player's name is too long, they can't send the full chat box
in that image, the second player's name has 4 characters and he could send the full chat box, but the first one, with a 20 character...
Forum: Scripting Help 23/05/2020, 04:19 PM
Replies: 5
Views: 144
Posted By nomadsocio
Re: tag mismatch here

now I get that warning here:
format(string, sizeof(string), "{ff8533}[REPORT %d] %s (%d) l-a raportat pe {FF3333}%s (%d){ff8533}, motiv: {FF3333}%s", rid, GetName(playerid), playerid,...
Forum: Scripting Help 23/05/2020, 03:57 PM
Replies: 5
Views: 144
Posted By nomadsocio
Forum: Scripting Help 23/05/2020, 02:51 PM
Replies: 5
Views: 144
Posted By nomadsocio
tag mismatch here

hello, why I get "warning 213: tag mismatch" here?
rid = Cache:result;
full code:

CMD:report(playerid, params[])
{
new targetid, reason[300], query[300], query2[200], reportid, rid;...
Forum: Scripting Help 22/05/2020, 11:31 AM
Replies: 1
Views: 66
Posted By nomadsocio
how to get the report id

when a player sends a report, the admin has to check the report's ID on /reports in order to accept it.

the code now:

CMD:report(playerid, params[])
{
//skip code
format(string,...
Forum: Scripting Help 20/05/2020, 03:08 PM
Replies: 4
Views: 140
Posted By nomadsocio
Showing results 1 to 25 of 89

 

All times are GMT. The time now is 01:32 PM.


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