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

Username
  

Password
  





Search Forums



(Advanced Search)

Forum Statistics
» Members: 7,054
» Latest member: adrianosilvaborges428
» Forum threads: 2,355
» Forum posts: 12,245

Full Statistics

Online Users
There are currently 260 online users.
» 0 Member(s) | 257 Guest(s)
Bing, Yandex, Google

Latest Threads
Plan C: Protect The Presi...
Forum: Advertisements
Last Post: PipPo
1 hour ago
» Replies: 0
» Views: 6
CODE5 GAMING COPS AND ROB...
Forum: Advertisements
Last Post: ryanthiago789
Yesterday, 03:02 AM
» Replies: 0
» Views: 25
SAMP RP project in 2024? ...
Forum: General Discussions
Last Post: tommchris
Yesterday, 02:05 AM
» Replies: 4
» Views: 2,461
Infekcja 2: Zombie Surviv...
Forum: Serwery
Last Post: tunnelrushgame3d
Yesterday, 01:50 AM
» Replies: 1
» Views: 187
FPS issues
Forum: General Discussions
Last Post: kourtneyroberts
2025-04-28, 04:53 AM
» Replies: 0
» Views: 20
How to make your GTA SA:M...
Forum: Tutorials
Last Post: NoxxeR
2025-04-27, 11:26 AM
» Replies: 1
» Views: 76
Problem about pawnbot
Forum: Pawn Scripting
Last Post: balkanspeed18
2025-04-26, 02:04 PM
» Replies: 0
» Views: 38
Error
Forum: Pawn Scripting
Last Post: -N0FeaR-
2025-04-25, 12:05 PM
» Replies: 0
» Views: 39
GTA Multigames [ MultiMod...
Forum: Advertisements
Last Post: Undead
2025-04-25, 07:37 AM
» Replies: 0
» Views: 50
Atlanta DeathMatch
Forum: Advertisements
Last Post: NixaSha
2025-04-25, 01:19 AM
» Replies: 0
» Views: 43

 
  Object Pos ..
Posted by: qtg998 - 2021-03-30, 08:03 AM - Forum: Pawn Scripting - Replies (1)

I am trying to get the coordinates 1.0 only to the right from the reference object. How do I do this..?



Please help me..


  Map icon does not change color
Posted by: Jhames - 2021-03-30, 06:12 AM - Forum: Pawn Scripting - Replies (1)

Hello guys, I have a little problem.



I am trying to change the color of an icon on the map but it is not working, I am trying to make the icon black, but it does not work.




Is the color correct? I'm using like this:?0x000000FF



Code:
public OnPlayerConnect(playerid)

{

? ? SetPlayerMapIcon(playerid, 1, 2756.7896,-2431.2869,13.4790, 2, 0x000000FF, MAPICON_GLOBAL);

? ? return 1;

}


  [MAP] BAYSIDE City Police Department
Posted by: Nahiri - 2021-03-30, 12:33 AM - Forum: Videos and Screenshots - Replies (4)

This is my latest work, check it out :D?https://imgur.com/a/WailQI5


  Not sure if my /kick works?
Posted by: CrypticSin - 2021-03-29, 09:32 PM - Forum: Pawn Scripting - Replies (4)

Hi i've written a admin command for /kick and im currently multi logging into my server to test it out.



Everything seems like it's working when i kick my 2nd character but, it doesn't actually kick the player even though the message comes up that?they've been kicked?



Could this be because im accessing the server on two different accounts with?the same PC and the same IP??



Or if a randomer from a different ip joined would it work??



Code:

PHP Code:
CMD:kick(playeridparams[])

{

? ? if(
PlayerInfo[playerid][pAdmin] < 1)

? ? return 
SCM(playeridCOLOR_RED"You are not allowed to use this command");



new 
playerbreason[24];

new 
fstr[200];

if(
sscanf(params"us[24]"playerbreason))

? ? return 
SCM(playeridCOLOR_RED"Usage: /kick [playerid/name] [reason]");

? ? 

? ? if(!
IsPlayerConnected(playerb))

return 
SendClientMessage(playeridCOLOR_RED"Player not found.");

? ? 

? ? if(
PlayerInfo[playerb][pAdmin] >= 1)

return 
SendClientMessage(playeridCOLOR_RED"You cant kick admins.");

? ? {

? ? ? ? 
format(fstrsizeof(fstr), "Admin %s (%d) has kicked %s [%d] from TWDZS - Reason: %s"ReturnName(playerid), playeridReturnName(playerb), playerbreason);

? ? ? ? 
SendClientMessageToAll(COLOR_REDfstr);

? ? ? ? 
PlayerInfo[playerb][pKicks] ;

? ? ? ? 
GameTextForPlayer(playerb"~r~Kicked"50005);

? ? ? ? 
format(fstrsizeof(fstr), "You have been kicked from TWDZS. You were kicked by admin %s."ReturnName(playerid));

? ? ? ? 
SendClientMessage(playerbCOLOR_REDfstr);

? ? ? ? 
SendClientMessage(playerbCOLOR_ORANGE"If you think this kick is unfair complain at www.domain.net");

? ? ? ? 
KickEx(playerb);

? ? }

? ? return 
true;



  Fps Problem
Posted by: Prcko69 - 2021-03-29, 08:49 PM - Forum: General Discussions - Replies (1)

Well, i have problems with fps drops..

I have pc strong enough to run GTA Sa on 60fps, but

When alot players are around me it drops to low 40

PC specs:

8GB ram

GT 440 graphics

i5 4570 processor

I tryed everything, every fps booster

nothing worked...

If anyone know how to fix it would be good for me :v


  Command not working
Posted by: Snow - 2021-03-29, 06:25 PM - Forum: Pawn Scripting - Replies (6)

Okay so I have this weird problem with this one specific command. When player performs this command, he gets teleported somewhere else instead of where he's supposed to. But I'm calling the same command under OnDialogResponse and it works fine there. Here's the command:

Code:
CMD:mc(playerid, params[])
{
? ? LoginCheck(playerid);
? ? SpawnCheck(playerid);
? ? IntCheck(playerid);

? ? if(!Permissions(playerid))
? ? return 1;

? ? SetCameraBehindPlayer(playerid);
? ? new RandomT = random(sizeof(mount));
? ? new Randomm = random(sizeof(mountv));

? ? if(IsPlayerInAnyVehicle(playerid))
? ? {
? ? ? ? SetVehiclePos(GetPlayerVehicleID(playerid), mountv[Randomm][0], mountv[Randomm][1], mountv[Randomm][2]);
? ? }
? ? else
? ? {
? ? ? ? SetPlayerPos(playerid, mount[RandomT][0], mount[RandomT][1], mount[RandomT][2]);
? ? }
? ? new string[128], name[24];
? ? GetPlayerName(playerid, name, 24);
? ? format(string, 128, "%s(%d) has teleported to Mount Chilliad (/mc).", name, playerid);
? ? SendClientMessageToAll(COLOR_TP, string);
? ? return 1;
}

Calling it under dialog response like this
Code:
if(listitem ==7)
? ? ? ? ? ? {
? ? ? ? ? ? cmd_mc(playerid, "");
? ? ? ? ? ? }

Now when player types the command manually, he won't get teleported to Mount Chilliad but when he uses the dialog that calls this command, he'll be teleported here.


Thumbs Up Anti loading crasher
Posted by: z0rdan - 2021-03-29, 01:13 AM - Forum: Portuguese/Portugu?s - Replies (1)

Algu?m sabe como posso adicionar a prote??o pra esse tipo de hack?

o player teleporta dentro de um ve?culo e logo dps fica "LOADING" na tela do outro jogador.


  Tutorial on Pawn
Posted by: HydraLazy - 2021-03-28, 11:04 AM - Forum: Questions and Suggestions - Replies (4)

Hey,

? ? ? ?I have a message to open.mp team that there are many newbie want to learn pawn , I know there are many tutorial written but the problem is that its difficult to understand through reading and also there are many tutorial in videos but they are directly starting samp scripting not pawn basic. So I suggest to one of you should start video tutorial it will hel the whole world not only me



Peace Out


Heart rename file ini
Posted by: Lord_Bukake - 2021-03-27, 02:28 PM - Forum: Pawn Scripting - Replies (1)

Hi, how can i rename a server .ini file?



i'm doing a command to rename server ini files, but i can't find the function or method.

Could you help me? thank u


  How to increase the size of DIALOG_STYLE_PASSWORD ?
Posted by: CrypticSin - 2021-03-26, 09:49 PM - Forum: Pawn Scripting - Replies (8)

Hi im trying to figure out how to increase the size of this dialogue im using as it's currently at its default size.



Is there a way to enlarge the box so the whole text of the title?is shown?







PHP Code:
? ? ShowPlayerDialog(playeridDIALOG_REGISTERDIALOG_STYLE_PASSWORD"Title: With this text i can only see half of it, how to increase the dialogue size?""Please enter a password below:""Register""Cancel");