SA-MP Forums

Go Back   SA-MP Forums > Search Forums

Showing results 1 to 25 of 56
Search took 0.01 seconds.
Search: Posts Made By: RageCraftLV
Forum: Scripting Help 02/12/2017, 07:08 PM
Replies: 10
Views: 887
Posted By RageCraftLV
Re: GetPlayerName from inputtext (listitem)

I didn't really understand what you are saying but as I understand you want the second listitem to show players name? Then you don't have to use inputtext, because inputtext is just from...
Forum: Gamemode Scripts 01/12/2017, 02:34 PM
Replies: 24
Views: 16,811
Posted By RageCraftLV
Re: [BASIC] Motion RolePlay (MySQL)

I didn't provide full server link because many users don't like downloading anything unknown, they just better take code from pastebin and downloads the plugins themselves.
Forum: Scripting Help 01/12/2017, 02:31 PM
Replies: 15
Views: 736
Posted By RageCraftLV
Re: How to fix gamemode

Can you show us you OnGameModeInit?
Forum: Discussion 01/12/2017, 02:29 PM
Replies: 8
Views: 3,606
Posted By RageCraftLV
Re: Sublime Text 3 encoding special characters

Saved with that encoding, still same messed up characters.
Forum: Discussion 30/11/2017, 11:44 PM
Replies: 8
Views: 3,606
Posted By RageCraftLV
Re: Sublime Text 3 encoding special characters

>>> view.encoding()
'Central European (Windows 1250)'
Forum: Discussion 30/11/2017, 10:51 PM
Replies: 8
Views: 3,606
Posted By RageCraftLV
Re: Sublime Text 3 encoding special characters

Still not working. It shows the special characters kinda weird, but I could get used to it. The problem is it shows character 'ā' like '', bet when I type in a special character, it shows up as 'ā',...
Forum: Scripting Help 30/11/2017, 07:58 PM
Replies: 4
Views: 388
Posted By RageCraftLV
Re: Unknown gamemode.

Show us the full server.log.
Forum: Discussion 30/11/2017, 07:48 PM
Replies: 8
Views: 3,606
Posted By RageCraftLV
Question Sublime Text 3 encoding special characters

I'm using Sublime Text 3 to code, as I find it very easy to use, nice syntax and many useful features. The only problem is that I can't code in my native language. It's hard for me to explain it, but...
Forum: Scripting Help 30/11/2017, 07:37 PM
Replies: 3
Views: 510
Posted By RageCraftLV
Re: Help! warning 213: tag mismatch

How is the playerName obtained? Is it a variable or a function. If it is a function, it should be playerName(playerid).

Don't know about the other one, havan't used streamer plugin that much.
Forum: Scripting Help 30/11/2017, 06:27 PM
Replies: 10
Views: 594
Posted By RageCraftLV
Re: GIVECASH

Then use sscanf!
Forum: Scripting Help 30/11/2017, 01:19 PM
Replies: 18
Views: 2,033
Posted By RageCraftLV
Re: How to see my players' password?

Why would you want to do that?
Forum: Client Support 30/11/2017, 08:22 AM
Replies: 1
Views: 447
Posted By RageCraftLV
Re: *SA-MP Windows Server

Looks fine to me.
Forum: Scripting Help 30/11/2017, 08:17 AM
Replies: 10
Views: 594
Posted By RageCraftLV
Re: GIVECASH

Why aren't you using sscanf?
Forum: Discussion 30/11/2017, 06:33 AM
Replies: 5
Views: 1,044
Posted By RageCraftLV
Re: How many includes can I have?

Thanks for the help!
Forum: Scripting Help 29/11/2017, 09:29 PM
Replies: 10
Views: 516
Posted By RageCraftLV
Re: Help me !

Then replace -1 with playerid. I didn't see that you have custom SendPlayerMessageToAll.
Forum: Scripting Help 29/11/2017, 09:27 PM
Replies: 10
Views: 594
Posted By RageCraftLV
Re: GIVECASH

public OnPlayerClickPlayer(playerid, clickedplayerid, source)
{
if(!IsPlayerConnected(clickedplayerid)) return SendClientMessage(playerid, -1, "Player not online!");
if(clickedplayerid ==...
Forum: Scripting Help 29/11/2017, 09:13 PM
Replies: 10
Views: 594
Posted By RageCraftLV
Re: GIVECASH

You have to specify how you want to give it. Just by double-clicking player, and giving him 100k, or maybe showing a dialog asking how much do you want to give?
Forum: Scripting Help 29/11/2017, 08:46 PM
Replies: 10
Views: 516
Posted By RageCraftLV
Re: Help me !

Yes, all the players will see the message.

CMD:wb(playerid,params[]) {
new string[128];
format(string, sizeof string, "[%d] %s: {0000FF}Welcome {FF0000}Back!", playerid,...
Forum: Scripting Help 29/11/2017, 08:41 PM
Replies: 10
Views: 516
Posted By RageCraftLV
Re: Help me !

I don't think you can do that. At least I don't know how to. You can just replace OnPlayerText with the example above and add pName(playerid) function anywhere in the script.
Forum: Scripting Help 29/11/2017, 08:37 PM
Replies: 10
Views: 516
Posted By RageCraftLV
Re: Help me !

pName(playerid)
{
new name[MAX_PLAYER_NAME];
GetPlayerName(playerid, name);
return name;
}

public OnPlayerText(playerid, text[])
{
new string[128];
Forum: Scripting Help 29/11/2017, 08:18 PM
Replies: 10
Views: 516
Posted By RageCraftLV
Re: Help me !

Any warnings when compiling? And I think they should return 1;

Like this:
CMD:wb(playerid,params[]) {
SendPlayerMessageToAll(playerid, "{0000FF}Welcome {FF0000}Back!");
return 1;
}
...
Forum: Discussion 29/11/2017, 08:07 PM
Replies: 5
Views: 1,044
Posted By RageCraftLV
How many includes can I have?

So, I've been wondering, how many includes I can have in gamemode. While browsing includes section, I've found so many good includes, but will too many includes be bad for performance? Let's say that...
Forum: Gamemode Scripts 29/11/2017, 05:58 PM
Replies: 24
Views: 16,811
Posted By RageCraftLV
Re: [BASIC] Motion RolePlay (MySQL)

Yes, I am going to update it whenever I can. Thanks for the help offer!
Forum: General 29/11/2017, 05:35 PM
Replies: 20
Views: 2,859
Posted By RageCraftLV
Re: Where would you want a RP server be based on?

Actually that would be so cool in 0.3.8! :p
Forum: Gamemode Scripts 29/11/2017, 05:33 PM
Replies: 24
Views: 16,811
Posted By RageCraftLV
Re: [BASIC] Motion RolePlay (MySQL)

I want to clarify that none of the code is copied from other gamemodes. I may have inspired from other gamemode systems, but nothing was copied! Just wanted everyone to know that.
Showing results 1 to 25 of 56

 

All times are GMT. The time now is 10:57 PM.


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