Welcome, Guest
You have to register before you can post on our site.

Username
  

Password
  





Search Forums



(Advanced Search)

Forum Statistics
» Members: 6,617
» Latest member: MrEdinLaw
» Forum threads: 2,456
» Forum posts: 12,489

Full Statistics

Online Users
There are currently 180 online users.
» 0 Member(s) | 175 Guest(s)
Bing, Applebot, Google, DuckDuckGo, Yandex

Latest Threads
PROJECT: RENEWAL ROLEPLAY...
Forum: Advertisements
Last Post: zin
Today, 12:21 AM
» Replies: 2
» Views: 122
Welcome to los santos !
Forum: Advertisements
Last Post: xInVinCiBlE
Yesterday, 07:48 AM
» Replies: 0
» Views: 37
open.mp for MacOS
Forum: Releases
Last Post: Xyranaut
2026-05-19, 10:17 PM
» Replies: 2
» Views: 125
ShadowVale Freeroam/Rolep...
Forum: Advertisements
Last Post: iiAmerii
2026-05-19, 09:05 PM
» Replies: 0
» Views: 38
HOW TO CLOSE INCOMING CON...
Forum: Questions and Suggestions
Last Post: anil_erdogan0
2026-05-19, 04:46 AM
» Replies: 0
» Views: 55
LS-RCR - Los Santos Rolep...
Forum: Advertisements
Last Post: Karthik
2026-05-18, 05:07 PM
» Replies: 0
» Views: 52
mysql_samp
Forum: Plugins
Last Post: NullSablex
2026-05-18, 04:46 PM
» Replies: 1
» Views: 362
Starting a Roleplay Serve...
Forum: Chat
Last Post: Jimmy96k
2026-05-17, 10:14 PM
» Replies: 0
» Views: 64
Starting a Roleplay Serve...
Forum: General Discussions
Last Post: Jimmy96k
2026-05-17, 09:56 PM
» Replies: 1
» Views: 92
[BETA] Renaissance DM — O...
Forum: Advertisements
Last Post: DrVandersexxx
2026-05-17, 04:15 PM
» Replies: 1
» Views: 144

 
  Error with TextDrawSetString ??
Posted by: DaZzY - 2020-10-24, 04:12 PM - Forum: Pawn Scripting - Replies (2)

Hello i want to create a TD of FUEL And i get error when i use?TextDrawSetString?



Quote:C:\Users\user\Desktop\Samp\samp server\gamemodes\SFUD.pwn(5445) : error 029: invalid expression, assumed zero

C:\Users\user\Desktop\Samp\samp server\gamemodes\SFUD.pwn(5445) : warning 215: expression has no effect

C:\Users\user\Desktop\Samp\samp server\gamemodes\SFUD.pwn(5445) : error 001: expected token: ";", but found "]"

C:\Users\user\Desktop\Samp\samp server\gamemodes\SFUD.pwn(5445) : error 029: invalid expression, assumed zero

C:\Users\user\Desktop\Samp\samp server\gamemodes\SFUD.pwn(5445) : fatal error 107: too many error messages on one line





This is on Gamemodeini :



Quote:g_Player[playerid][td_fuel] = CreatePlayerTextDraw(playerid,45.000000,324.000000,"Fuel: 100");

? ? PlayerTextDrawBackgroundColor(playerid,g_Player[playerid][td_fuel],0x00000033);

? ? PlayerTextDrawFont(playerid,g_Player[playerid][td_fuel],3); /

? ? PlayerTextDrawLetterSize(playerid,g_Player[playerid][td_fuel],0.699999,1.700000);

? ? PlayerTextDrawColor(playerid,g_Player[playerid][td_fuel],0x000000ff);

? ? TextDrawSetShadow(playerid,g_Player[playerid][td_fuel],3);







Quote:public timer_fuel_lower()

{

? ? for(new i=0;i<MAX_PLAYERS;i) { //

? ? ? ? if (isrefuelling[i]) continue; //

? ? ? ? new vid = GetPlayerVehicleID(i); //

? ? ? ? if (GetPlayerVehicleSeat(i) == 0) { //

? ? ? ? ? ? fuel[vid] = fuel[vid] -1; //

? ? ? ? ? ? if (fuel[vid]<1) //

? ? ? ? ? ? {

? ? ? ? ? ? ? ? fuel[vid] = 0; //

? ? ? ? ? ? ? ? RemovePlayerFromVehicle(i); //

? ? ? ? ? ? ? ? GameTextForPlayer(i,"~r~You are out of ~w~fuel~r~!",5000,4); //

? ? ? ? ? ? }

? ? ? ? }

? ? ? ?

? ? ? ? new tdstring[32];

? ? ? ?format(tdstring,sizeof tdstring,"Fuel:%i",fuel[vid]);

? ? ? ? TextDrawSetString([td_fuel][i], tdstring); < Line 5445



? ? }



}





Whats wrong please ??


  OCTOBER 2020 Q&A Live stream recording and podcast
Posted by: Potassium - 2020-10-24, 02:33 AM - Forum: Development Updates - Replies (4)

Our first ever live stream was a success, with a peak of 150 viewers, and a whole bunch of your questions answered!

Text transcript will be on the forum within the next few days.

Feel free to offer your feedback on how we can improve our streams :)

The podcast can be found here:?https://www.buzzsprout.com/1439923/6037927

And the video:

[Video: https://youtu.be/bTYWWsXkcDo]


  Ability to manage the display of the HUD
Posted by: BrunoNapoli97 - 2020-10-23, 06:32 PM - Forum: Questions and Suggestions - Replies (3)

Hi, sorry for my bad English but I write with google translator, I wanted to ask you if there will be the possibility to deactivate or activate the game HUD or maybe just the radar, it would be a great thing to do. thanks for a future reply.


  Help with Custom Weapon Names
Posted by: RoBy41 - 2020-10-23, 02:08 PM - Forum: Pawn Scripting - Replies (5)

Lately I noticed that Roleplay servers scripts allow weapons with the same ID (for example, a Deagle) to be stored in a player's inventory under different names. For example, if a player (from Grove Street Families)?has a Deagle on him, if he does /inventory (hypothetically), instead of Deagle, the weapon's name is ''Glock''. Also, let's say there is another player (from Ballas) that has a Deagle on him. But in this case, the weapon's name?(Deagle) can be another weapon name other than Glock (that the first player has), for example, when the second player does /inventory, the name of the Deagle is ''Beretta''.



How can you do that?


  [SA:MP] GTA V HUD & FARMER JOB
Posted by: Flint - 2020-10-22, 11:39 PM - Forum: Videos and Screenshots - Replies (6)

like & subscribe thx <3

link:?https://youtu.be/oLssxsAO_0s


  Scriptfiles created with fopen(File: file, io_append), gets deleted
Posted by: Mergevos - 2020-10-22, 09:40 PM - Forum: Pawn Scripting - No Replies

As the title says, files created with io_append gets deleted everytime server (re)starts?up again.?



Code is this function:?https://github.com/Mergevos/samp-logging/blob/master/logging.inc#L182



File gets created, and all of the content is written into, but when server starts again, it gets deleted.


  Your opinion about moon.
Posted by: Hype - 2020-10-22, 06:38 PM - Forum: Chat - Replies (4)

Moon is very coool

[Image: x3sxgqj.jpg]


  I need FileScript CamEditor
Posted by: TwentyOne - 2020-10-22, 03:17 PM - Forum: Filterscripts - Replies (2)

can anyone help me with the CamEditor FileScript?



Discord: TwentyOne#4632



or download link


  Why This Forum Is Inactive?
Posted by: Grate Maharlika - 2020-10-22, 02:58 PM - Forum: Chat - Replies (16)

Title says it all, may I know why?


  PlayAudioStreamForPlayer Not Working
Posted by: Grate Maharlika - 2020-10-22, 09:14 AM - Forum: Pawn Scripting - Replies (2)

Why PlayAudioStreamForPlayer is not working on me (im using horizon roleplay script (y_ini) is there anything i should add? What PlayAudioStreamForPlayer plugins or requirements to make it run? It actually works ingame but when it plays now after 2-4 seconds it will stop and if i play again it wont work *(im not using youtube link)