SA-MP Forums

Go Back   SA-MP Forums > Search Forums

Showing results 1 to 25 of 439
Search took 0.01 seconds.
Search: Posts Made By: Jafet_Macario
Forum: Scripting Help 12/10/2011, 04:38 PM
Replies: 1
Views: 621
Posted By Jafet_Macario
Re: Help | 2 Questions

For question 1:
public OnGameModeInit()
{
ShowPlayerMarkers(0);
return 1;
}
Forum: Scripting Help 12/10/2011, 04:24 PM
Replies: 2
Views: 1,026
Posted By Jafet_Macario
Re: Converting to YCMD

For first command: YCMD:buyhouse(playerid, o[], help)
{
if(help) return SendClientMessage(playerid, -1, "Buyhouse help");
if(!isnull(o)) return 0;
if(HouseOwner[playerid] == true) return...
Forum: Scripting Help 12/10/2011, 02:51 PM
Replies: 9
Views: 2,089
Posted By Jafet_Macario
Re: i need help with a script for a airline system

new AirlineCount;

stock AirlinePath(Airlineid)
{
new iStr[256];
format(iStr,sizeof(iStr),AIRLINEPATH,Airlineid);
AirlineCount++;
return iStr;
}
Forum: Scripting Help 12/10/2011, 02:44 PM
Replies: 9
Views: 2,089
Posted By Jafet_Macario
Re: i need help with a script for a airline system

format(iStr,sizeof(iStr),AIRLINEPATH,Airlineid);
Forum: Scripting Help 12/10/2011, 02:38 PM
Replies: 1
Views: 689
Posted By Jafet_Macario
Re: How to save server suggestions

forward SaveSuggestion(string[]); // forward our function
public SaveSuggestion(string[])
{
new entry[200]; // declare the variable entry with a 200 array size
format(entry, sizeof(entry),...
Forum: Scripting Help 12/10/2011, 02:26 PM
Replies: 9
Views: 2,089
Posted By Jafet_Macario
Re: i need help with a script for a airline system

Well, you select Airlineid as a parameter of your stock but you never use it.
Forum: Scripting Help 12/10/2011, 12:42 PM
Replies: 5
Views: 830
Posted By Jafet_Macario
Re: Weapon sricpt

http://forum.sa-mp.com/showthread.php?t=151633
Forum: Scripting Help 12/10/2011, 12:17 PM
Replies: 6
Views: 815
Posted By Jafet_Macario
Re: After making a register system ...

Follow this tut: http://forum.sa-mp.com/showthread.php?t=273088
Forum: Scripting Help 12/10/2011, 12:00 PM
Replies: 4
Views: 654
Posted By Jafet_Macario
Re: What is wrong with that code?

You didn't declared the string. new string[ 128 ];
Forum: Scripting Help 12/10/2011, 11:55 AM
Replies: 4
Views: 654
Posted By Jafet_Macario
Re: What is wrong with that code?

1. new tmp[ 128 ];
2. strtok(const string[], &index)
{
new length = strlen(string);
while ((index < length) && (string[index] <= ' '))
{
index++;
}

new offset = index;
Forum: Scripting Help 11/10/2011, 11:56 AM
Replies: 9
Views: 1,817
Posted By Jafet_Macario
Re: Help with report cmd...

CMD:report(playerid,params[])
{
new string[128], id, reason[35];
if(sscanf(params,"us[35]",id,reason)) return SendClientMessage(playerid,COLOR_GRAY,"SYNTAX: /report [id] [reason]");
...
Forum: Scripting Help 10/10/2011, 06:44 PM
Replies: 45
Views: 3,140
Posted By Jafet_Macario
Re: RCON

public OnPlayerRequestSpawn(playerid)
{
if(GetPlayerSkin(playerid) == 294)
{
if(IsPlayerAdmin(playerid))
{
SetPlayerSkin(playerid,294);
...
Forum: Scripting Help 10/10/2011, 05:59 PM
Replies: 45
Views: 3,140
Posted By Jafet_Macario
Re: RCON

Oh c'mon, and the line please.
Forum: Scripting Help 10/10/2011, 05:48 PM
Replies: 45
Views: 3,140
Posted By Jafet_Macario
Re: RCON

Show us the errors.
Forum: Scripting Help 10/10/2011, 12:49 PM
Replies: 3
Views: 904
Posted By Jafet_Macario
Re: Command works but says unknown command?

You don't need sscanf.CMD:ooc(playerid, params[])
{
new string[246];
if(isnull(params)) return SendClientMessage(playerid, COLOR_RED, "USE: /ooc [message]");
if(ooc == 0) return...
Forum: Scripting Help 10/10/2011, 12:22 PM
Replies: 13
Views: 1,704
Posted By Jafet_Macario
Re: Dini won't create the file

Try re-downloading your includes.
Forum: Scripting Help 10/10/2011, 12:10 PM
Replies: 13
Views: 1,704
Posted By Jafet_Macario
Re: Dini won't create the file

Right Click on samp-server.exe
Click on Properties
And Check the box that says Run as Administrator
Then Click Ok And your done it should work.
Forum: Scripting Help 10/10/2011, 11:44 AM
Replies: 9
Views: 1,520
Posted By Jafet_Macario
Re: Server Command Fail

http://translate.******.com
Forum: Scripting Help 09/10/2011, 06:58 PM
Replies: 27
Views: 2,363
Posted By Jafet_Macario
Re: saving

It doesn't creates the file in "Users" folder?

Try:
Right Click on samp-server.exe
Click on Properties
And Check the box that says Run as Administrator
Then Click Ok And your done it should...
Forum: Scripting Help 09/10/2011, 06:45 PM
Replies: 27
Views: 2,363
Posted By Jafet_Macario
Re: saving

#define PATH "/Freeroam/Users/%s.ini"
Forum: Scripting Help 09/10/2011, 06:41 PM
Replies: 27
Views: 2,363
Posted By Jafet_Macario
Re: saving

Yes, in your scriptfiles
Forum: Scripting Help 09/10/2011, 06:27 PM
Replies: 27
Views: 2,363
Posted By Jafet_Macario
Re: saving

..scriptfiles/Users/
Forum: Scripting Help 09/10/2011, 06:20 PM
Replies: 27
Views: 2,363
Posted By Jafet_Macario
Re: saving

#include <a_samp>
#include <YSI/y_ini>

#define DIALOG_REGISTER 1
#define DIALOG_LOGIN 2
#define DIALOG_SUCCESS_1 3
#define DIALOG_SUCCESS_2 4
#define COL_WHITE "{FFFFFF}"
#define COL_RED...
Forum: Scripting Help 09/10/2011, 05:52 PM
Replies: 27
Views: 2,363
Posted By Jafet_Macario
Re: saving

Yes, y_ini. http://forum.sa-mp.com/showthread.php?t=273088

EDIT: Stigg was faster.
Forum: Scripting Help 08/10/2011, 09:42 PM
Replies: 3
Views: 723
Posted By Jafet_Macario
Re: Messages realy short =s

You don't even need to use sscanf.
CMD:o(playerid, params[])
{
new string[128], pname[MAX_PLAYER_NAME];
if(OOC == false) return SendClientMessage(playerid, COLOR_GREY, "SERVER: The OOC chat...
Showing results 1 to 25 of 439

 

All times are GMT. The time now is 09:15 PM.


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