SA-MP Forums

Go Back   SA-MP Forums > Search Forums

Showing results 1 to 25 of 127
Search took 0.00 seconds.
Search: Posts Made By: SapMan
Forum: Scripting Help 25/12/2018, 04:43 PM
Replies: 2
Views: 151
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: 36,308
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: 151
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: 282
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: 126
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: 126
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: SA-MP 0.3.DL 23/12/2018, 12:10 AM
Replies: 4
Views: 539
Posted By SapMan
Re: Deleted files

I just realized that it is every time I remove "vc2sa4samp" from the line "filterscript" in server.cfg. I just removed it and turned on the server, when I see the folder, the models were not there.
Forum: SA-MP 0.3.DL 22/12/2018, 08:30 PM
Replies: 4
Views: 539
Posted By SapMan
Re: Deleted files

No, it does not change the ip. If it were the ip, they would also have to download the other models. It happened again, yesterday when I was testing the server all the models were downloaded. Right...
Forum: Scripting Help 21/12/2018, 01:06 AM
Replies: 6
Views: 180
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: 180
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: Includes 21/12/2018, 12:42 AM
Replies: 10
[Include] Demo recorder
Views: 1,716
Posted By SapMan
Re: Demo recorder

Exactly how is it? Is it like the counter strike 1.6 (record demo, stop demo, view demo)? Because I've always looked for something like that so nobody has excuses.
Forum: Scripting Help 21/12/2018, 12:34 AM
Replies: 6
Views: 180
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: 180
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: 232
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: 232
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: 232
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: 232
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: 330
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: 330
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: SA-MP 0.3.DL 19/12/2018, 11:13 PM
Replies: 4
Views: 539
Posted By SapMan
Deleted files

Why sometimes, when I turn off the server and re-enter, do I have to download the models again?

That has happened to me several times with the files of the map of vice city, today all were...
Forum: Scripting Help 19/12/2018, 10:18 PM
Replies: 11
Views: 330
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: 330
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: 7,003
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: 7,003
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: 7,003
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...
Showing results 1 to 25 of 127

 

All times are GMT. The time now is 04:21 AM.


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