SA-MP Forums

Go Back   SA-MP Forums > Search Forums

Showing results 1 to 25 of 90
Search took 0.00 seconds.
Search: Posts Made By: Lixyde
Forum: Scripting Help 12/06/2020, 07:07 AM
Replies: 7
Views: 234
Posted By Lixyde
Re: SetName error?

i don't know how to make it that if the player has the name that you are setting it wont let him
Forum: Scripting Help 12/06/2020, 06:24 AM
Replies: 7
Views: 234
Posted By Lixyde
Re: SetName error?

UPDATE:

I tried changing the code and got this:


if(GetPlayerName(ID, Name2, sizeof(Name2)) == GetPlayerName(ID, ChangedName, sizeof(ChangedName))) return SendClientMessage(playerid,...
Forum: Scripting Help 12/06/2020, 06:20 AM
Replies: 7
Views: 234
Posted By Lixyde
SetName error?

Hello, so I made a command that changes your name, and I get error that I don't understand how to fix it.

So here's my command:


CMD:setname(playerid, params[])
{
new string[120];
new...
Forum: Scripting Help 26/03/2019, 06:42 PM
Replies: 8
Views: 478
Posted By Lixyde
Re: IF get vehicle speed?

So i added what SymonClash said.
and added what Pottus


It works. But not everything.

The full code:


new IsWanted[MAX_PLAYERS];
Forum: Scripting Help 25/03/2019, 07:13 PM
Replies: 8
Views: 478
Posted By Lixyde
Exclamation IF get vehicle speed?

So i when you pass 210 KM in your car it should send the message that you are driving too fast.


I tried it, but something doesnt work.



stock GetVehicleSpeed(vehicleid)
{
new...
Forum: Scripting Help 23/03/2019, 08:27 AM
Replies: 4
Views: 205
Posted By Lixyde
Re: Radios HELP

Okay, found the way, but there is problem..

Im making the command. Dialog style list.
To select a radio and then play it.

But when i type the command, it doesnt show that the command is...
Forum: Scripting Help 23/03/2019, 07:46 AM
Replies: 4
Views: 205
Posted By Lixyde
Re: Radios HELP

How do i get the .pls link.

I found one radio that when i clicked it, it got me to this site:
http://prntscr.com/n1lofy and its playing live, automatically, im using it to my server.
But for the...
Forum: Scripting Help 22/03/2019, 07:12 PM
Replies: 4
Views: 205
Posted By Lixyde
Radios HELP

So, i made it when you join my server it plays music automatically, and its working.
I upload it into kiwi6 and then as it goes.

But,

how do i make it with the radio? cause when i join the...
Forum: Scripting Help 19/03/2019, 09:22 AM
Replies: 4
Views: 215
Posted By Lixyde
Re: Whats the fix

Thanks it works.
Forum: Scripting Help 18/03/2019, 08:15 PM
Replies: 4
Views: 1,215
Posted By Lixyde
Re: Voice chat in SAMP, a good idea...?

But if there is a way to do that, how? Like if there is a function to record your voice and send it and like this.
But also it should have a delay (timer) that when you talk and the other one talks,...
Forum: Scripting Help 18/03/2019, 07:54 PM
Replies: 4
Views: 215
Posted By Lixyde
Whats the fix

So i have car spawner in dialog, but when i spawn a car and i get out of it and spawn another, the old one gets destroyed. And i dont know what should i do in the script so i can fix that.


Here...
Forum: Scripting Help 08/03/2019, 05:51 PM
Replies: 4
Views: 278
Posted By Lixyde
How to see other player stats?

For example: The /check command.

You write for example /check 1 (/check and the ID).

And it comes up with the statistics of the player 1 (ID 1)..

I can only make /stats. To show your own...
Forum: Scripting Help 06/03/2019, 06:52 AM
Replies: 9
Views: 277
Posted By Lixyde
Re: afk things

I got it. I didnt read it carefully.

EDIT: Man.. You are genius. Rep+ for that.
Forum: Scripting Help 05/03/2019, 07:06 PM
Replies: 9
Views: 277
Posted By Lixyde
Re: afk things

1. expression has no effect

Error code:

SendClientMessage(playerid, -1, "You are afk"), 0;
Forum: Scripting Help 05/03/2019, 06:19 PM
Replies: 9
Views: 277
Posted By Lixyde
Re: afk things

It doesnt work. I wanted when you are in /afk you cant use commands, or normal people (i mean not admin) cant use /goto on you. You can only use /back when you are /afk.

I added what you gived to...
Forum: Scripting Help 05/03/2019, 09:20 AM
Replies: 9
Views: 277
Posted By Lixyde
Re: afk things

After i removed my oldhealth and added yours. It got me 2 mismatch errors.
I dont know what to type in it.

1 mismatch error is on /afk command:

GetPlayerHealth(playerid, oldhealth);

2...
Forum: Scripting Help 05/03/2019, 08:34 AM
Replies: 9
Views: 277
Posted By Lixyde
afk things

I made so when i type /afk i cant move, i get unlimited health.
How can i make it so when i type afk i cant use commands like for teleport. I mean the command /back will be available but the goto...
Forum: Scripting Help 04/03/2019, 02:25 PM
Replies: 1
Views: 147
Posted By Lixyde
Prefixes.

I think i made everything right, but there is something NOT right.

I made so when i rcon log it will show:

[Rcon Admin] name[ID:0]: text

and when you are default

name[ID:0]: text
Forum: Scripting Help 04/03/2019, 01:03 PM
Replies: 1
Views: 138
Posted By Lixyde
Car spawner help

i have /v command to spawn a car with dialog.
Everything works, but the problem is that when i spawn a car or my friend spawns a car it always spawns in white color.
Everytime in white color? is...
Forum: Scripting Help 03/03/2019, 01:37 PM
Replies: 1
Views: 147
Posted By Lixyde
Wrong date

I made in my server so when you register on it writes the date of joining: Year, Month, Day.

But the place for them is wrong like:

When you register should be, ( Day: 3, Month: 3, Year: 2019)...
Forum: Scripting Help 25/11/2018, 12:12 PM
Replies: 0
Views: 178
Posted By Lixyde
Why?

I maded so when i type /stats. To show your player IP.
But it doesnt work.

Everything other is working like, Money, VIP, ADMIN, Kills. But for the IP it doesnt work

In /stats the IP is shown...
Forum: Scripting Help 23/11/2018, 07:39 PM
Replies: 2
Views: 249
Posted By Lixyde
Why and How?

Why when i press TAB it's saying "You have to be in a car!" ?
I maded it so i when you press 2 to fix your car. but when i press TAB it says "You have to be in a car" Of course in car when i press...
Forum: Scripting Help 12/11/2018, 09:36 AM
Replies: 10
Views: 376
Posted By Lixyde
Re: The Problem?

What should i do?
Forum: Scripting Help 12/11/2018, 07:38 AM
Replies: 10
Views: 376
Posted By Lixyde
Re: The Problem?

I have already did that, here is everywhere i put pLogged:

new pLogged[MAX_PLAYERS];


Then in OnPlayerRequestClass:

if(pLogged[playerid] == 0)
{
SendClientMessage(playerid,...
Forum: Scripting Help 11/11/2018, 06:35 PM
Replies: 10
Views: 376
Posted By Lixyde
Re: The Problem?

Now i type my password wrong it won't spawn me, that's good.
But if i type my password right, and click the button, it says the message:

SendClientMessage(playerid, COLOR_GREEN, "You need to be...
Showing results 1 to 25 of 90

 

All times are GMT. The time now is 09:12 AM.


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