SA-MP Forums

Go Back   SA-MP Forums > Search Forums

Showing results 1 to 25 of 101
Search took 0.00 seconds.
Search: Posts Made By: SapMan
Forum: Scripting Help 25/12/2018, 04:43 PM
Replies: 2
Views: 200
Posted By SapMan
Re: User confirmation

I already solved this problem, but now I have something similar with the command "/ admins", and in order not to create another topic, I am still here.

The error is that if an administrator is...
Forum: Tutorials 24/12/2018, 10:16 PM
Replies: 68
[Tutorial] How to use SQLite
Views: 39,734
Posted By SapMan
Re: How to use SQLite

Good tutorial, it helped me a lot now that I have a problem. When using an "ip" is "%q" or "%s" used? and when it is a registration date that only contains "12/24/2018", is "%q" or "%s" used? And, is...
Forum: Scripting Help 24/12/2018, 08:09 PM
Replies: 2
Views: 200
Posted By SapMan
User confirmation

Hello, I have a problem with the user identification when it connects, the problem is that a user registers normal, example, with the name "Samp", then the player leaves and another user enters with...
Forum: Scripting Help 24/12/2018, 04:22 PM
Replies: 7
Views: 351
Posted By SapMan
Flowers Re: sscanf "u" and "s[126]" specifier bug

Try using "if (isnull (params)) return Usage (playerid," w <matn> - Bago Chat Dargooshi ");" first


CMD:w(playerid, params[])
{
if(isnull(params)) return Usage(playerid, "w <matn> - Bago...
Forum: Scripting Help 24/12/2018, 03:14 PM
Replies: 2
Views: 157
Posted By SapMan
Re: SQLite question

Oh, it's fine. But, I do not understand the second, what do you mean by "special characters"? If it's the name, ip, password, how would you do it in this case?
Forum: Scripting Help 24/12/2018, 02:34 PM
Replies: 2
Views: 157
Posted By SapMan
SQLite question

Is it necessary to use these things ( INSERT INTO `PLAYERS` ( `NAME` ), %q )?

I mean those quotes " `` " and " %q " instead of " %s "
Forum: Scripting Help 21/12/2018, 01:06 AM
Replies: 6
Views: 263
Posted By SapMan
Re: PlayerTextdraws or Textdraws

And also the textdraws with the images of each city do not have to be player td too? Please, I need clear doubts about this.
Forum: Scripting Help 21/12/2018, 12:45 AM
Replies: 6
Views: 263
Posted By SapMan
Re: PlayerTextdraws or Textdraws

The player td would be the player's marker on the map, right? And the one that indicates the place (Place: Los Santos) do not have to be also player td?
Forum: Scripting Help 21/12/2018, 12:34 AM
Replies: 6
Views: 263
Posted By SapMan
Re: PlayerTextdraws or Textdraws

That is, the textdraws with the images of "Los Santos, Las Venturas and San Fierro" are shown to the player depending on where they are, and the player's icon indicates where the player is exactly...
Forum: Scripting Help 21/12/2018, 12:23 AM
Replies: 6
Views: 263
Posted By SapMan
PlayerTextdraws or Textdraws

I made a mini-map of the entire city of San Andreas thanks to the custom models and that minimap I divided it into 4 parts so that the textdraw was not so big, so my question is: Do you have to be...
Forum: Scripting Help 20/12/2018, 11:38 PM
Replies: 6
Views: 296
Posted By SapMan
Re: Identify player locations

So, would it be better to use a timer than "OnPlayerEnterDynamicArea"? I use "CreateDynamicRectangle" for zones.
Forum: Scripting Help 20/12/2018, 11:19 PM
Replies: 6
Views: 296
Posted By SapMan
Re: Identify player locations

If I use the timer do I have to use it in OngamemodeInit or OnPlayerConnect?
Forum: Scripting Help 20/12/2018, 11:12 PM
Replies: 6
Views: 296
Posted By SapMan
Re: Identify player locations

Sorry, I was also referring to whether to use a timer to detect when the player enters a zone or use "OnPlayerEnterDynamicArea"
Forum: Scripting Help 20/12/2018, 10:49 PM
Replies: 6
Views: 296
Posted By SapMan
Identify player locations

I made a text drawing on my server to warn the player where it is. Example: "Place: Los Santos". But how do I know exactly where it is? By this I mean to know if it is in "Las venturas", "los...
Forum: Scripting Help 20/12/2018, 08:16 PM
Replies: 11
Views: 425
Posted By SapMan
Re: Teams

Oh, now if I understand, it's something like this:


gTeam[playerid] = Team_Police;
SetPlayerTeam(playerid, Team_Defend);

SetPlayerPos(playerid, Ptp_Pos[ gTeam[playerid] ][index][0], Ptp_Pos[...
Forum: Scripting Help 20/12/2018, 05:43 PM
Replies: 11
Views: 425
Posted By SapMan
Re: Teams

Does it mean that I should not use 'SetPlayerTeam' for each team?

This is what I have in my script, is it wrong?:


//Command

ShowPlayerDialog(playerid, Dialog_PTP, DIALOG_STYLE_LIST, "PTP -...
Forum: Scripting Help 19/12/2018, 10:18 PM
Replies: 11
Views: 425
Posted By SapMan
Re: Teams

Ok.. But how do I do so that the police can not harm the president (who belongs to another team)?

If you choose the president team, then it will be SetPlayerTeam (playerid, Team_President);

and...
Forum: Scripting Help 19/12/2018, 02:55 PM
Replies: 11
Views: 425
Posted By SapMan
Re: Teams

That's what I do not want, I want to do that only damage can not be done. I do not want to put them on the same team.

I know it's possible, if it were not possible, how do they do on the servers...
Forum: Gamemode Scripts 19/12/2018, 02:30 PM
Replies: 35
Views: 9,708
Posted By SapMan
Re: Vice City Emergency Responders [0.3-DL]

I have already downloaded everything the gm needs and it still keeps giving me the same mistakes I mentioned earlier. Where does the "resources" folder have to go? In the gamemodes folder?
Forum: Gamemode Scripts 18/12/2018, 11:53 PM
Replies: 35
Views: 9,708
Posted By SapMan
Re: Vice City Emergency Responders [0.3-DL]

Current directory: C:\Users\PC\Desktop\VCER\gamemodes
C:\Users\PC\Desktop\VCER\pawno\include\YSI\y_scriptinit.inc(305) : warning 201: redefinition of constant/macro (symbol "OnScriptInit")...
Forum: Gamemode Scripts 18/12/2018, 11:22 PM
Replies: 35
Views: 9,708
Posted By SapMan
Re: Vice City Emergency Responders [0.3-DL]

Please, can you publish everything complete with the includes, and the gm without error? When I compile it tells me that it does not find some includes and when I ignore them with "//" it gives me...
Forum: Scripting Help 18/12/2018, 11:00 PM
Replies: 11
Views: 425
Posted By SapMan
Re: Teams

someone?
Forum: Includes 18/12/2018, 10:54 PM
Replies: 1,351
Views: 335,911
Posted By SapMan
Re: Nex-AC - Anticheat system

All the errors mentioned above were fixed, such as the anti aimbot, teleport hack and others? Can I put this in my game mode, compile and play without having any flaws?
Forum: Scripting Help 18/12/2018, 08:49 PM
Replies: 11
Views: 425
Posted By SapMan
Teams

How can I do so that Team 1 can not hurt Team 2? As if the two teams were one.
Forum: Plugin Development 11/12/2018, 01:48 AM
Replies: 20
Views: 4,550
Posted By SapMan
Re: SAMP GameMode in Assembly (SGMA)

And how do I execute this, and how can I enter to see the game mode?
Showing results 1 to 25 of 101

 

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


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