SA-MP Forums

Go Back   SA-MP Forums > Search Forums

Showing results 1 to 25 of 500
Search took 0.02 seconds.
Search: Posts Made By: GTLS
Forum: Scripting Help 22/09/2018, 07:12 AM
Replies: 20
Views: 306
Posted By GTLS
Re: cmd enter problem

CMD:enter(playerid, params[])
Forum: Scripting Help 22/09/2018, 07:06 AM
Replies: 9
Views: 222
Posted By GTLS
Re: Command

GetNumberOwner(number)
{
foreach (new i : Player)
{
if (Player[i][PhoneNumber] == number && Player[i][HasPhone] == 1)
{
return i;
}
return...
Forum: Client Support 22/09/2018, 07:04 AM
Replies: 6
Views: 171
Posted By GTLS
Re: Game crashed after using /rcon

Try allowing your Server files in your Antivirus and Firewall. I once didnt allow server.exe file in AV, when ever anyone types any thing IG, Server crashed. weird.
Forum: Scripting Help 21/09/2018, 01:03 PM
Replies: 9
Views: 222
Posted By GTLS
Re: Command

Post the code GetNumberOwner.
Forum: Scripting Help 21/09/2018, 01:01 PM
Replies: 14
Views: 287
Posted By GTLS
Re: Command

look at RedHunter's code. he didnt defined nz variable. you gotta do it yourself.
Forum: Scripting Help 21/09/2018, 12:58 PM
Replies: 14
Views: 270
Posted By GTLS
Re: Textdraw

Why dont you simply set the string of the textdraw? Upon updating the status, you update the string of the textdraw aswell.
Forum: Scripting Help 21/09/2018, 12:55 PM
Replies: 4
Views: 117
Posted By GTLS
Re: How I do this?

You store Coordinates to a Multidimensional Array and from that, using random() function, you can choose a random index of array and can spawn any object on that coordinates.
Forum: Tutorials 21/09/2018, 12:48 PM
Replies: 20
Views: 871
Posted By GTLS
Forum: Scripting Help 15/09/2018, 01:56 PM
Replies: 3
Views: 94
Posted By GTLS
Re: can i change vehicle components colors?

Create a Server Sided Vehicle Component system using 0.3DL.
Forum: Scripting Help 15/09/2018, 01:53 PM
Replies: 12
Views: 201
Posted By GTLS
Re: OnPlayerEnterCheckpoint doesn't work properly.

How the hell does it change anything? Except for shape yes.

whats this?
if(DriveCP[cnt][3] == 23)
Whats the cnt variable for? For the count of steps(or checkpoints)? cuz, that would be 23 if...
Forum: Tutorials 15/09/2018, 01:51 PM
Replies: 20
Views: 871
Posted By GTLS
Re: How to make TDM Team Selection.

Its okay. Tutorial is bad but dont worry, you gotta learn it this way. Everyone has to. Accept the criticism and move on and try to be better next time.
Forum: Everything and Nothing 15/09/2018, 01:27 PM
Replies: 80
Views: 4,241
Posted By GTLS
Re: Welcome back, Y_Less!

Beta Testing Windows 11
Forum: General 10/09/2018, 10:27 AM
Replies: 25
Views: 5,077
Posted By GTLS
Re: San Andreas Battle Royale

Soo? Whats the status? Many people said they are making a BR server, any updates?
Forum: Scripting Help 05/08/2018, 04:09 PM
Replies: 4
Views: 113
Posted By GTLS
Forum: Scripting Help 05/08/2018, 04:04 PM
Replies: 1
Views: 97
Posted By GTLS
Re: SQL - Filterscript

You can access a same database file from different scripts. Its same in SQLite and MySQL and even file based systems.
Forum: Scripting Help 05/08/2018, 04:01 PM
Replies: 7
Views: 192
Posted By GTLS
Re: MySQL Offline Ban

Dont ban people from Names. Ban them from DB ID. It makes it way easier. Try it and tell if it works.
Forum: Scripting Help 05/08/2018, 03:58 PM
Replies: 1
Views: 162
Posted By GTLS
Re: Connecting mode for SQL

There is some problem with Username - Password Combination. Either you are entering a wrong Username or you are entering a wrong password.

Another possibility is that, you dont have MySQL Server...
Forum: Scripting Help 01/08/2018, 05:14 AM
Replies: 6
Views: 196
Posted By GTLS
Re: Mysql loading

Show the code where you connect to Database.
Forum: Scripting Help 01/08/2018, 05:12 AM
Replies: 15
Views: 487
Posted By GTLS
Re: register questions, help pls

He can learn how the encryption and everything works even from a downloaded code.
Forum: Scripting Help 01/08/2018, 05:06 AM
Replies: 6
Views: 239
Posted By GTLS
Re: MySQL BlueG Add

Nice rep hunting tho.

Anyway,

Okay, So I understand you want to give players some default money and level when they register for the first time right?

What you can do is, Under...
Forum: Scripting Help 01/08/2018, 05:03 AM
Replies: 17
Views: 456
Posted By GTLS
Re: Help with Phone Numbers

What others simply meant was, Fire this query,
SELECT pPhoneNumber from `users` where pPhoneNumber = RandNumber //or what ever your variables are.

Then, inside the threaded function, check for...
Forum: Scripting Help 26/07/2018, 02:54 PM
Replies: 9
Views: 327
Posted By GTLS
Re: MMB ARREST

a Hint,

! is used to reverse the output. It is NOT operator.

Just as Coool said, look for it yourself.
Forum: Scripting Help 26/07/2018, 02:52 PM
Replies: 2
Views: 173
Posted By GTLS
Re: Help anti health armour cheat ?

As I said in your other post, Look at RogueDriffter's Tutorial about Anti Hacks.
Forum: Scripting Help 26/07/2018, 02:50 PM
Replies: 4
Views: 245
Posted By GTLS
Re: Police Officer Ranking!

Upon Arresting someone, increase the number of TotalArrests by 1. And also make a check at every time he arrests, If, TotalArrests is more than 100, set his JobRank(or whatever) to 2 and keep on...
Forum: Scripting Help 26/07/2018, 02:47 PM
Replies: 6
Views: 207
Posted By GTLS
Re: Player positions not loading properly

Heres how it goes.

Under OnPlayerConnect, via MySQL, player's data is fetched using SELECT statement(Make sure to use tquery), now the command is passed to the threaded function. Under That...
Showing results 1 to 25 of 500

 

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


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