SA-MP Forums

Go Back   SA-MP Forums > Search Forums

Showing results 1 to 25 of 44
Search took 0.00 seconds.
Search: Posts Made By: AmarPlayer
Forum: Scripting Help 01/07/2018, 12:41 PM
Replies: 4
Views: 248
Posted By AmarPlayer
Re: Music on server

Use kiwi6.com to upload your music and then just paste the link down here:


public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
{
PlayAudioStreamForPlayer(playerid,...
Forum: Scripting Help 22/04/2018, 08:21 PM
Replies: 5
Views: 179
Posted By AmarPlayer
Re: What should I do about these warnings?

I feel so stupid now because I tried it the way i pasted up there and I tried it without the gettime() and getdate() function completely and it would put just zeros in the txt file, I just couldn't...
Forum: Scripting Help 22/04/2018, 03:30 PM
Replies: 5
Views: 179
Posted By AmarPlayer
Post What should I do about these warnings?

Here's my code:

new File:ftw=fopen("server/komande.txt", io_append), string[100], name[MAX_PLAYER_NAME], Year, Month, Day, Datum, Hour, Minute, Second, Vrijeme;
Datum = getdate(Year, Month, Day);...
Forum: Scripting Help 17/04/2018, 01:31 PM
Replies: 2
Views: 149
Posted By AmarPlayer
Post How can I check if there is a specific string in a .txt file?

I need a player to input something and then it gets stored in a txt file but I don't want them to be able to type in the same thing twice. I already got everything set up except that, I read the Wiki...
Forum: Scripting Help 12/03/2018, 06:57 PM
Replies: 13
Views: 585
Posted By AmarPlayer
Re: Help with a really big bug??

Everything works just fine and as I intended it to work while I'm running a home server, however when I open up a Hamachi server for my friends to join it gets all messed up. And I was using that SCM...
Forum: Scripting Help 12/03/2018, 04:06 PM
Replies: 13
Views: 585
Posted By AmarPlayer
Re: Help with a really big bug??

Okay,

#define SCM SendClientMessage(playerid, ZUTA
#define SPD ShowPlayerDialog


Do you maybe know something about the loop that Riddick94was saying up there?
Forum: Scripting Help 12/03/2018, 03:08 PM
Replies: 13
Views: 585
Posted By AmarPlayer
Re: Help with a really big bug??

It happens with all of them, here is this one for example:
CMD:donacije(playerid, params[], help)

{
JeliLogovan
SPD(playerid, DIALOG_DONACIJE, DIALOG_STYLE_LIST, "{FFDF2D}Donacije servera:",...
Forum: Everything and Nothing 12/03/2018, 02:08 PM
Replies: 46
Views: 4,352
Posted By AmarPlayer
Re: What TV Shows do you watch?

I'm doing the same thing for The Flash, bcs I hate watching an episode and then having to wait for the next one to come out, but if the show is really good I can go with it :D
Forum: Scripting Help 12/03/2018, 01:57 PM
Replies: 13
Views: 585
Posted By AmarPlayer
Re: Help with a really big bug??

I completely forgot about this thread, so I'm bringing it back. How am I supposed to know what you need before even asking? Anyways, here it is:

public OnPlayerConnect(playerid)
{...
Forum: Everything and Nothing 11/03/2018, 04:56 PM
Replies: 46
Views: 4,352
Posted By AmarPlayer
Re: What TV Shows do you watch?

Okay, btw I meant about the medical similarities, bcs I don't know anything else about the show.
Forum: Everything and Nothing 11/03/2018, 10:09 AM
Replies: 46
Views: 4,352
Posted By AmarPlayer
Post Re: What TV Shows do you watch?

Nice, I'll probably start watching Grey's Anatomy sometime soon, bcs I've seen House MD and i really liked, and those two are similar.



I can always find some 😂
Forum: Everything and Nothing 11/03/2018, 01:09 AM
Replies: 23
Views: 2,890
Posted By AmarPlayer
Re: Fortnite?

Of course, why not.
Forum: Everything and Nothing 11/03/2018, 01:03 AM
Replies: 46
Views: 4,352
Posted By AmarPlayer
Post What TV Shows do you watch?

I've seen sooo many i can't even name them all but here are some:

The Flash
Arrow
The Vampire Diaries
The Originals
The Walking Dead
The Big Bang Theory
Two and a Half Men
House MD
Forum: Scripting Help 09/03/2018, 08:07 PM
Replies: 6
Views: 441
Posted By AmarPlayer
Re: Pawno Scripting

How I started scripting is by editing someone else's gamemode and reading it to see what's what, then I started making my own server and if I didn't know something I'd either copy it from that script...
Forum: Scripting Help 27/11/2017, 08:55 PM
Replies: 13
Views: 585
Posted By AmarPlayer
Re: Help with a really big bug??

Any more help? I don't really understand what are you trying to say.
Forum: Scripting Help 27/11/2017, 08:12 PM
Replies: 13
Views: 585
Posted By AmarPlayer
Post Help with a really big bug??

Hi, I created a small roleplay gamemode, just to test things out and stuff, and when I compile it I don't get any errors or warnings, but, for example, I set up a welcome message so when you connect...
Forum: Scripting Help 11/09/2017, 07:59 PM
Replies: 2
Views: 167
Posted By AmarPlayer
Re: How to give levels to everyone?

Thank you man, +rep :) :D
Forum: Scripting Help 11/09/2017, 05:53 PM
Replies: 2
Views: 167
Posted By AmarPlayer
Post [SOLVED]How to give levels to everyone?

I am making a command which when you type in you get a dialog to choose, money or level.
When you choose you have to type in how many levels you want to give to everyone.
For example: If I am at...
Forum: Scripting Help 11/09/2017, 05:27 PM
Replies: 3
Views: 161
Posted By AmarPlayer
Re: A little help.

Here it its:

ImeIgraca(playerid)
{
new name[MAX_PLAYER_NAME];
GetPlayerName(playerid, name, sizeof(name));
return name;
}
Forum: Scripting Help 10/09/2017, 10:43 PM
Replies: 3
Views: 161
Posted By AmarPlayer
Post A little help.

Hi.
When a player types something in the chat i want it to be like this:
"Elliot says: text"
here is my code:

new pText[144];
format(pText, sizeof (pText), "{a5a5a5}%s kaze:{ffffff} ...
Forum: Scripting Help 10/09/2017, 10:17 PM
Replies: 27
Views: 623
Posted By AmarPlayer
Re: warning 225: unreachable code Problem

Show me the entire OnPlayerKeyState public.
Forum: Scripting Help 10/09/2017, 04:03 PM
Replies: 12
Views: 437
Posted By AmarPlayer
Re: auto enter & exit on those pickups , help please

public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
{
if(newkeys & KEY_YES)
{
if(IsPlayerInRangeOfPoint(playerid, 3.0, coordinates of the pickup))
{
SetPlayerPos(playerid,...
Forum: Scripting Help 10/09/2017, 03:58 PM
Replies: 12
Views: 437
Posted By AmarPlayer
Forum: Scripting Help 10/09/2017, 03:56 PM
Replies: 12
Views: 437
Posted By AmarPlayer
Re: auto enter & exit on those pickups , help please

public OnPlayerPickUpPickup(playerid, pickupid)
{
if(pickupid == the name of the pickup you created)
{
SetPlayerPos(playerid, coordinates to enter the place);
}
...
Forum: Scripting Help 10/09/2017, 03:53 PM
Replies: 3
Views: 203
Posted By AmarPlayer
Re: Help me

Okay, I understand what you mean, I don't know how to explain this, I made a command to change a player's name and here it is:

CMD:specijalnoime(playerid, params[], help)
{
JeliLogovan...
Showing results 1 to 25 of 44

 

All times are GMT. The time now is 06:05 PM.


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