SA-MP Forums

Go Back   SA-MP Forums > Search Forums

Showing results 1 to 25 of 38
Search took 0.00 seconds.
Search: Posts Made By: Lexless
Forum: Scripting Help 17/07/2020, 10:08 PM
Replies: 4
Views: 196
Posted By Lexless
Re: Samp Server Radio Talking System

Here you go, i made this in 3 minutes so i don't know if it works or not.


new pChannel[MAX_PLAYERS];

CMD:setchannel(playerid, params[])
{
new Channel, result[64];
if(sscanf(params,...
Forum: Server Support 17/07/2020, 05:18 PM
Replies: 14,834
Views: 1,898,930
Posted By Lexless
Re: Looking for scripters/helpers? Post here!

Looking for a mature community to stay, i could help in:

• Scripting.
• Administrating.
• Managing (Server/Discord/Forum).

You can contact me through SA:MP Forum or Discord: Lex#7924.
Forum: Scripting Help 17/07/2020, 07:33 AM
Replies: 2
Views: 124
Posted By Lexless
Re: Is this possible?

Yes, use INI or MYSQL.
Forum: Scripting Help 16/07/2020, 07:15 PM
Replies: 2
Views: 135
Posted By Lexless
Re: Compile Error

I don't know if there is one or not. But the reason you get that error because you are not defining either the variable or whatever you are using.

Take an example like:
new LoggedIn[MAX_PLAYERS]...
Forum: Everything and Nothing 15/07/2020, 10:30 PM
Replies: 8
Views: 912
Posted By Lexless
Re: Lost my thumb and job down to being a good Samaritan..

I'm very sorry for your condition. Wish you all the best.
Forum: Scripting Help 14/07/2020, 02:07 AM
Replies: 5
Views: 229
Posted By Lexless
Re: OnPlayerStateChange SPAM

Why don't use a timer?
Forum: Plugin Development 13/07/2020, 11:17 PM
Replies: 163
Views: 75,391
Posted By Lexless
Re: SKY - Slice's fork of kurta999's fork of YSF

It is downloadable (https://github.com/oscar-broman/SKY/releases/download/2.3.0/release-linux.tar.gz).
Forum: Includes 12/07/2020, 06:58 PM
Replies: 44
Views: 17,737
Posted By Lexless
Re: MenuStore (Build dynamic stores with TextDraws)

Alright, use mine (https://pastebin.com/69EWg9De)instead.

Don't compile it, it's an include.
Forum: Scripting Help 12/07/2020, 06:22 PM
Replies: 3
Views: 224
Posted By Lexless
Re: player's colors problem

Show your OnPlayerConnect would you?

Also, try: SetPlayerColor(playerid, 0xFFFFFFFF);
Forum: Includes 12/07/2020, 04:16 PM
Replies: 44
Views: 17,737
Posted By Lexless
Forum: Scripting Help 12/07/2020, 11:18 AM
Replies: 7
Views: 204
Posted By Lexless
Re: FCNPC plugin

Check this out.

https://github.com/ziggi/FCNPC
Forum: Scripting Help 12/07/2020, 08:26 AM
Replies: 16
Views: 804
Posted By Lexless
Forum: Scripting Help 11/07/2020, 11:13 AM
Replies: 6
Views: 231
Posted By Lexless
Re: Please See My CMD

Try this, tell me if it works or not.

CMD:bacara(playerid, params[])
{
if(IsPlayerConnected(playerid))
{
new side,amount, string[256];
if(sscanf(params, "d", side,...
Forum: Scripting Help 11/07/2020, 11:06 AM
Replies: 7
Views: 262
Posted By Lexless
Re: Attaching textdraw to player

My bad, i forgot about that. Sorry. You got the right one above.
Forum: Scripting Help 11/07/2020, 02:01 AM
Replies: 7
Views: 262
Posted By Lexless
Re: Attaching textdraw to player

Here you go, tell me if it works or not.


new GodMode[MAX_PLAYERS];
CMD:god(playerid, params)
{
if(Godmode[playerid] == 0)
{
new Float:x, Float:y, Float:z;
...
Forum: Scripting Help 11/07/2020, 01:55 AM
Replies: 2
Views: 133
Posted By Lexless
Re: KillTimer Problem

Change.


SetTimer("Freeze", 21000, true);

to

Freezes[playerid] = SetTimerEx("Freeze",21000, true, "i", playerid);

When you kill the timer, use this.
Forum: Scripting Help 10/07/2020, 08:49 AM
Replies: 23
Views: 534
Posted By Lexless
Re: Script error.

Show the error.
Forum: Server Support 10/07/2020, 03:50 AM
Replies: 14,834
Views: 1,898,930
Posted By Lexless
Wink Re: Looking for scripters/helpers? Post here!

Currently looking for some Faction Leaders for these Factions:

Los Santos Government.
Federal Bureau of Investigation.
Los Santos Fire and Medical Department.

And some families leader...
Forum: Scripting Help 09/07/2020, 10:14 AM
Replies: 3
Views: 89
Posted By Lexless
Re: vehicle problem

Try this, would this fix it?


stock InGameSpawn(playerid)
{
if(OccupiedVeh[PoliceVeh[0]] == 0)
{
PoliceVeh[0] = CreateVehicle(596,2214.1001,-1215.6036,23.6039,88.9361, 0, 1,...
Forum: Scripting Help 08/07/2020, 02:52 PM
Replies: 3
Views: 134
Posted By Lexless
Re: Command doesn't seem to work, wrong checks

Why don't you use this instead?


if(PlayerInfo[playerid][pJob] == 11 && IsPlayerInRangeOfPoint(playerid, 30.0, -2959.0974,485.8969,4.9110) ||
PlayerInfo[playerid][pJob] == 17 &&...
Forum: Scripting Help 08/07/2020, 12:38 PM
Replies: 1
Views: 96
Posted By Lexless
Re: message problem

Try adding return 1.


public OnPlayerSpawn(playerid)
{
if(InfMsg[playerid] == 0)
{
SendClientMessage(playerid, red, "first line");
SendClientMessage(playerid, red,...
Forum: Scripting Help 08/07/2020, 06:00 AM
Replies: 1
Views: 123
Posted By Lexless
Re: Detect if a user is in X zone

You can use this include.

https://forum.sa-mp.com/showthread.php?t=598067
Forum: Filterscripts 05/07/2020, 03:13 PM
Replies: 10
Views: 10,015
Posted By Lexless
Forum: Server Support 04/07/2020, 09:44 AM
Replies: 14,834
Views: 1,898,930
Posted By Lexless
Re: Looking for scripters/helpers? Post here!

Looking for a few administrators for a roleplay server.

Contact Discord: Lex#7924.
Forum: Server Support 03/07/2020, 04:37 PM
Replies: 1
Views: 247
Posted By Lexless
Re: I am looking for a good and experienced SA:MP scripter.

Post it here.

https://forum.sa-mp.com/showthread.php?t=447813&page=1475
Showing results 1 to 25 of 38

 

All times are GMT. The time now is 03:04 PM.


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