Quantcast
Viewing all 18226 articles
Browse latest View live

Dynamic Objects

Hey there,i'm back :(

I have another huge problem that i can't fix alone,i need your help..

I have added streamer include to my gamemode and imported some maps..not many,only 11 but they are small for TDM..The problem is that when i join the server,the objects don't load..for this i converted them into a filterscript but it's the same thing,they don't load. I don't know why !!! Please help !!

1) yes,i downloaded the latest version of streamer
2)yes, i've done the part of server.cfg
3) no,i don't have any error in server_log

Thanks for your help !!

dialog tablist headers

PHP Code:

CMD:market(playeridparams[])
{
    
SendClientMessage(playerid, -1"{CECEF6}* You are viewing the market (shop) items.");
    
ShowPlayerDialog(playerid8DIALOG_STYLE_TABLIST_HEADERS"Market (Shop)",
    
"Slot\tItem \tPrice \tAmmo\n\

    1.\tDesert Eagle\t15 Points\t100\n\
    2.\tShotgun\t10 Points\t40\n\
    3.\tCombat - Shotgun\t40 Points\t100\n\
    4.\tM4\t10 Points\t90\n\
    5.\tSniper\t30 Points\t30\n\
    6.\tGrenades\t60 Points\t30\n\
    7.\tAK - 47\t150 Points\t30\n\
    8.\tCountry - Rifle\t30 Points\t30\n\
    9.\tSilenced - 9mm\t70 Point\t170\n\
    10.\tParachute\t30 Points\t-\n\
    11.\tJetpack\t30 Points\t-\n\
    12.\tTear - Gas\t60 Points\t5\n\
    13.\tMolotov - Cocktail    \t30 Points\t5\n\
    14.\tDildo\t1 Point\t-\n\
    15.\tPurple - Dildo\t1 Point\t-\n\
    16.\tVibrator\t1 Point\t-\n\
    17.\tSilver Vibrator\t1 Point\t-\n\
    18.\tFull Health\t150 Points\t-"
,
    
    
"Buy""Leave");
      return 
1;


Since it's kinda long, how do you break the code in strcat? i know the meaning, can i get an example on breaking in parts that code?

[Ajuda] baixei um gm e...

baixei um gm aq e tipo o sistema de armas a swan off so tem 2 balas e so tem 1 arma a arma n vem sera que e alguma callback to desesperado .-.

need help [system]

how can i make thirst system, like the player take steps then the thirst level should go automatically down i know i can done this with timer but i want to do this without timer if i can .

Get another player speed

Hey guys i want to ask you smth look if i want to get other player speed from my car how can i do it ? Example player driving a car i am policemen with my job car when player drive next to my in gamemodetext would be writing players speed is... Is it possible to do ?

White spaces in textdraw

Hey, I'm trying to use ~n~ in my textdraw, but apparently, after it is added into the textdraw string, a little malfunction seems to appear (you can see in the photo below). Any ideas?

Image may be NSFW.
Clik here to view.


Textdraw code:
Code:

    td_radio_info2[ playerid ] = CreatePlayerTextDraw( playerid, 549.923486, 106.850000, "~b~radio info~n~chan: ~g~0~n~~b~slot: ~g~0" ) ; // NON-COLOR
    PlayerTextDrawLetterSize( playerid, td_radio_info2[ playerid ], 0.484498, 1.113124 ) ;
    PlayerTextDrawAlignment( playerid, td_radio_info2[ playerid ], 2 ) ;
    PlayerTextDrawColor( playerid, td_radio_info2[ playerid ], 255 ) ;
    PlayerTextDrawSetShadow( playerid, td_radio_info2[ playerid ], 0 ) ;
    PlayerTextDrawSetOutline( playerid, td_radio_info2[ playerid ], 0 ) ;
    PlayerTextDrawBackgroundColor( playerid, td_radio_info2[ playerid ], 51 ) ;
    PlayerTextDrawFont( playerid, td_radio_info2[ playerid ], 3 ) ;
    PlayerTextDrawSetProportional( playerid, td_radio_info2[ playerid ], 1 ) ;

    td_radio_info1[ playerid ] = CreatePlayerTextDraw( playerid, 548.000000, 105.000000, "radio info~n~chan: 0~n~slot: 0" ) ; // COLOR
    PlayerTextDrawLetterSize( playerid, td_radio_info1[ playerid ], 0.474998, 1.104373 ) ;
    PlayerTextDrawAlignment( playerid, td_radio_info1[ playerid ], 2 ) ;
    PlayerTextDrawColor( playerid, td_radio_info1[ playerid ], -1 ) ;
    PlayerTextDrawSetShadow( playerid, td_radio_info1[ playerid ], 0 ) ;
    PlayerTextDrawSetOutline( playerid, td_radio_info1[ playerid ], 0 ) ;
    PlayerTextDrawBackgroundColor( playerid, td_radio_info1[ playerid ], 51 ) ;
    PlayerTextDrawFont( playerid, td_radio_info1[ playerid ], 3 ) ;
    PlayerTextDrawSetProportional( playerid, td_radio_info1[ playerid ], 1 ) ;

Actors

I want to make actors that will be the in the businesses.. should I load all of them on business load, or after entering it? And what is the function for it?

Textdraw creator

So, I created a textdraw using iPLEOMAX's TXD Editor, and this is what I got in scriptfiles

PHP Code:

318.750000|212.333312|0.595624|2.095834|0.000000|0.000000|2|-16776961|0|0|0|1|51|2|1|0|1|SPAWN-KILL PROTECTED 

How can I convert that into CreateTextdraw and everything that comes with it?

KEY_FIRE

Hello.

Is it possible to disable a KEY_FIRE for about 5 seconds and enable it again. If yes, how ?

- Thanks

Problem with obtaining information from my database

Hello,

I'm using a MySQL plugin, R41-4 to be precise.

I make a tquery and within the callback I use "cache_get_value_name(0, "Password", pInfo[playerid][Password]);"

Now, I checked and the value returned is null. I have no value whatsoever there.
The logs say:

[17:36:14] [DEBUG] cache_get_value_name(0, "Password", 0x04CA62DC, 1)
[17:36:14] [DEBUG] cache_get_value_name: assigned value: 'censored'
[17:36:14] [DEBUG] cache_get_value_name: return value: '1'

and replace censored with my actual password.

It seems to get the value properly, just not insert it into my string. Any thoughts on what I might be doing wrong?

Thank you in advance,
Denying

gta Vice city filterscript

Hello, I'm trying to use the vice city filterscript but keep getting errors:

Code:

C:\Users\marlb\Desktop\0.3.8\filterscripts\vc2sa4samp.pwn(39) : warning 203: symbol is never used: "str_model_id"
C:\Users\marlb\Desktop\0.3.8\filterscripts\vc2sa4samp.pwn(156) : error 017: undefined symbol "AddSimpleModel"
C:\Users\marlb\Desktop\0.3.8\filterscripts\vc2sa4samp.pwn(154) : warning 203: symbol is never used: "newmodelid"
C:\Users\marlb\Desktop\0.3.8\filterscripts\vc2sa4samp.pwn(163) : error 017: undefined symbol "AddSimpleModelTimed"
C:\Users\marlb\Desktop\0.3.8\filterscripts\vc2sa4samp.pwn(161) : warning 203: symbol is never used: "newmodelid"
C:\Users\marlb\Desktop\0.3.8\filterscripts\vc2sa4samp.pwn(161) : warning 203: symbol is never used: "timeoff"
C:\Users\marlb\Desktop\0.3.8\filterscripts\vc2sa4samp.pwn(161) : warning 203: symbol is never used: "timeon"
Pawn compiler 3.10.20160907                          Copyright (c) 1997-2006, ITB CompuPhase


2 Errors.

I use the 0.3.8 DLL

Italy Mafia Roleplay [www.sa-mp.im]

Image may be NSFW.
Clik here to view.


Trailer

https://www.youtube.com/watch?v=oxVUdsYf7eM

Introduction

Italy Mafia: Roleplay has seen many different owners and management in the past years. However, since 2010, the community’s current owner has been scripting and managing the community to raise and maintain its formidable reputation it has today. The server currently enjoys success in which it daily experiences at least approximately 150 users online at one given time.

The management, general administration and the helper team consistently excel in their duties by being enthusiastic, dedicated and helpful by making sure everyone enjoys their time in our community, whether they are a seasoned roleplayer or just starting out. The beauty of Italy Mafia is that everyone is welcome and everyone’s guaranteed a great time.

Italy Mafia is not a strict roleplaying community by any means. Its sole purpose is to let people have fun. It is described as a light to medium roleplay server – we’re not interesting in realms of /me commands or realms of roleplay text. We feel having fun is intrinsically important and therefore we’ve found a suitable compromise between action and roleplaying – an environment which can facilitate anyone’s needs. With a dedicated staff team, your time on Italy Mafia will be an unforgettable one.

Features

The server’s script is continuously being enhanced by various bug fixes, exciting new additions and general improvements. There are many unique and exciting features within Italy Mafia - too many to even mention! We don’t want to spoil the surprises for you so you shall have to join us and experience them by yourself or with some friends!

Some noteworthy features are as follows:
  • An innovative gun dealing system
  • An original delivery company faction
  • A UCP system containing a lot of useful info
  • Other enthralling features which you’ll have to experience yourself...


Of course, with the community being named “Italy Mafia”, there are multiple factions including mafias, from the Russian Kemirov to the infamous Italian Corleone family. If you’re not into crime factions, that’s fine too. There is a selection of legal factions ranging from the police, to the Special Forces, to the news. Italy Mafia has a place for everyone.

Important Information

If you have any questions about any of this thread’s contents, the information you wish to acquire will be easily obtainable:

Frequently Asked Questions: http://sa-mp.im/support/faq
Ask The Community: http://forum.sa-mp.im/viewforum.php?f=13
TeamSpeak 3 server: ts.sa-mp.im
SA:MP server: server.sa-mp.im:7777 OR 109.201.134.234:7777
Forum: forum.sa-mp.im
Website: sa-mp.im


The forum should contain most of the answers to your queries, if you still have problems, contact a staff member in game via /ask or /irc.

We hope you enjoy your stay.

random player timeouts

Hi i have a big deathmatch server and i'm experiencing a strange bug for 2 months.

for example 50 of 200 players are getting timeout in the same time, randomly in every 30min-2 hours. I haven't changed nothing for 3 months in my gamemode so i don't know what is causing it.

[Off] Aba internet

Boas galera,

A 2 anos atrás mais ou menos a equipe enganjada no desenvolvimento do BC:RP a qual fazia parte, enfrentou um sério problema, o qual era a aba internet, a qual estava com erros na listagem dos servidores, em pesquisas um dos desenvolvedores envolvidos relatou que era cobrado um valor em euros para que o servidor fosse ali listado. Eu gostaria de saber, esse valor ainda é cobrado? A aba internet foi fixada? É somente comprar uma hospedagem?

Grato desde já.

House System Bug Icon

So when i create house, im using GarHouse. When i create house, and this house doesn't have owner.
On the map it shows that the house is RED

I think it works like that if you make it:

RED = Have Owner
GREEN = FOR SALE (Doesn't have Owner).

But when i create house, and the house doesn't have owner it shows, is red the icon:

Here is pic:

The Icon: https://imgur.com/a/nIRWs
-------------------------------------------
The House: https://imgur.com/a/IQRO9


If you need the full filterscipt, because the house system is filterscript i will post it. Just tell me.

CMySQLQuery::Execute[()] - (error #1064) You have an error in your SQL syntax; check the manual that corresponds to your

I am facing a proble, while i try to save stats on mysql database...

here is the code :
PHP Code:

SavePlayer(playerid)
{
    new 
Float:x,Float:y,Float:z,Float:Angle;
    
GetPlayerFacingAngle(playeridAngle);
    
GetPlayerPos(playeridFloat:xFloat:yFloat:z);
    
sInfo[playerid][money] = GetPlayerMoney(playerid);
    
sInfo[playerid][level] = GetPlayerScore(playerid);
    
sInfo[playerid][s_posx] = x;
    
sInfo[playerid][s_posy] = y;
    
sInfo[playerid][s_posz] = z;
    
sInfo[playerid][s_angle] = Angle;

    new 
query[128];
    
format(querysizeof(query), "UPDATE users SET money='%i', level='%i', pos_x='%f', pos_y='%f', pos_z='%f', angle='%f' WHERE id='%i'"sInfo[playerid][money],sInfo[playerid][level],sInfo[playerid][s_posx],sInfo[playerid][s_posx],sInfo[playerid][s_posz],sInfo[playerid][s_angle],sInfo[playerid][db_id]);
    
mysql_function_query(dbhandlequeryfalse"""");
return 
1;


ïðàâèëüíûé ëè êîä?

if (GetPlayerMoney(playerid) < 1 return GivePlayerMoney(playerid, 0)); //áàã2 ôèêñ äåíüãè â ìèíóñ
{
Player[playerid][pMoney] = 0;
SendClientMessage(playerid, 0x00FF00FF, "Âû áàíêðîò.");
return true;
}

VPS bandwidth

How much bandwidth need a standar VPS running a samp server with aprox 70-100 players and smf forum?

3TB is enough?

float and datetime (mysql)

Float:

I want the gasoline displayed in hundredths (for example 50,48L)

format (strb, sizeof (strb), "~ y ~ Fuel: ~ b ~% d", gasoline);
TextDrawSetString (Benzin [playerid], string);

how to display? % f or% 2.f?

DATATIME:

I save the date in the database for a period of months using NOW () - it is saved perfectly, just the question of how to display in the game? -% s? - does not exit,% f is also ..

i-number, s -text, f- with floating point. And what about DATATIME in mysql? -% s,% i, or what?

[GameMode] Los Santos RP And Xsf Xtreme Stunt Freeroam

I was really struggling with unscrambling words in LSRP myself and I came up with making this script. I am not the best when it comes to programming in AHK and thus the script is not that advanced (as it won't manually answer the word that has got to be unscrambled),. However, this is still helpful, I think.



You will need to have chatbox opened (T) and then press a button to start recording (EDiT: Just checked, it is [ to start recording) the words you are going to type (to unscramble) and then another button to finish the recording (I believe either ESC, ENTER or TAB). Once you press the button to finish the recording, a message will be sent in-game (like a SendClientMessage) which will give you all possible results and you will then have to manually /ans-wer the word.



I changed my laptop and I have been off SAMP, so I didn't have any intention in the script and testing again how it worked, thus you can check the code yourself and create an idea about it.



Download: http://www.mediafire.com/file/wgaf2l...nscrambler.rar
Discord I'd Paul_Walker#3433

and Yes i am looking for a scriptor i am also work on another gamemode so i need it
Xsf Xtreme Stunt Freeroam Build 44
and yeah haha i saw last gamemode someone post it hahaha he got banned i have script Xsf Xtreme stunt Freeroam so i also have it
Need Xsf Xtreme Stunt Freeroam
Discord I'd Paul_Walker#3433
Viewing all 18226 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>