Welcome, Guest |
You have to register before you can post on our site.
|
Forum Statistics |
» Members: 7,501
» Latest member: ae888vnio
» Forum threads: 2,413
» Forum posts: 12,360
Full Statistics
|
Online Users |
There are currently 767 online users. » 0 Member(s) | 765 Guest(s) Bing, Google
|
Latest Threads |
San Fierro Cops And Robbe...
Forum: Advertisements
Last Post: Dr0pp
Yesterday, 08:33 PM
» Replies: 0
» Views: 49
|
Adding new vehicles and s...
Forum: Programming
Last Post: __.A.__
2025-09-12, 07:47 PM
» Replies: 0
» Views: 73
|
Zona América del Sur Free...
Forum: Advertisements
Last Post: kevinberriosflores
2025-09-12, 02:16 PM
» Replies: 1
» Views: 99
|
Busco copia de gamemode S...
Forum: Spanish/Espa?ol
Last Post: briancristaldo2021
2025-09-11, 11:14 AM
» Replies: 0
» Views: 86
|
[Tutorial] Registrando o ...
Forum: Portuguese/Portugu?s
Last Post: Crazy_ArKzX
2025-09-09, 08:36 PM
» Replies: 0
» Views: 227
|
San Andreas Police Pursui...
Forum: Advertisements
Last Post: BriBri
2025-09-08, 10:09 PM
» Replies: 1
» Views: 312
|
Problem with plugins load...
Forum: Support
Last Post: MrKacu13
2025-09-08, 07:15 PM
» Replies: 9
» Views: 405
|
Compilation error
Forum: Pawn Scripting
Last Post: MrKacu13
2025-09-07, 07:18 AM
» Replies: 6
» Views: 380
|
Need help, problem when i...
Forum: Programming
Last Post: nonickowned
2025-09-06, 06:21 PM
» Replies: 0
» Views: 165
|
Transfer server from SAMP...
Forum: Support
Last Post: MrKacu13
2025-09-06, 04:03 PM
» Replies: 1
» Views: 266
|
|
|
How to add music to skin selection menu? |
Posted by: CrypticSin - 2021-03-25, 08:35 PM - Forum: Pawn Scripting
- Replies (4)
|
 |
Hi i'm trying to figure out how i can add music to a skin selection menu, i would appreciate it if someone can help thanks.
Code: public OnPlayerRequestClass(playerid, classid)
{
SetPlayerPos(playerid, 2014.6443,1077.2521,48.8207);
SetPlayerFacingAngle(playerid, 357.1971);
SetPlayerCameraPos(playerid,? 2014.9019, 1083.7701, 49.8680);
SetPlayerCameraLookAt(playerid, 2014.8658, 1082.7725, 49.7031);?
return 1;
}
|
|
|
How do I prevent a player from getting into a specific car? |
Posted by: Boxi - 2021-03-24, 06:49 PM - Forum: Pawn Scripting
- Replies (4)
|
 |
Hello everyone C: a question, how do I make that a player can not enter a specific car? I explain:
Code: new carvid_0;
carvid_0?= CreateVehicle(506,539.846,-1287.868,16.946,359.176,6,0,-1);
I need that they can't get into that specific vehicle, I can do it but only using the model of the car and that would prevent them from getting into all the cars of that model, but I only want that one. Does anyone know what I have to do? thanks c:
|
|
|
GTA 5 Deathmatch |
Posted by: rawzner - 2021-03-24, 12:38 PM - Forum: Chat
- Replies (4)
|
 |
Anyone else enjoy deathmatch on GTA 5? Not on online but on servers on fivem. Almost impossible to find since everything is RP but been playing one that's similar to old SAMP deathmatch servers like FoCo.?
Discord is Bishop#1527 if anyone wants to chat and play
|
|
|
Server Lag |
Posted by: Hitler - 2021-03-24, 02:25 AM - Forum: Pawn Scripting
- Replies (1)
|
 |
Espa?ol:?Hola buenas, esto es solo dudas que tengo, sobre que era lo que ocasiona el lag en el servidor, anteriormente habia leido un post de forum samp sobre las razones del lag en el servidor, entre estas estaban:
- Mal uso de las celdas
- Plugins no actualizados
Esos recuerdo, alguien que me pueda decir m?s razones del lag en el servidor se lo agradecer?a
English:?Hello good, this is only doubts that I have, about what was causing the lag in the server, I had previously read a post on forum samp about the reasons for the lag in the server, among these were:
- Misuse of cells
- Plugins not updated
Those memories, someone who can tell me more reasons for the lag in the server would appreciate it
|
|
|
SA-MP Server R3 |
Posted by: Hitler - 2021-03-24, 01:45 AM - Forum: Support
- Replies (3)
|
 |
Espa?ol:??C?mo puedo obtener la versi?n R3 en el servidor?
English:?How can I get the R3 version on the server?
|
|
|
Server lag |
Posted by: Hitler - 2021-03-24, 01:23 AM - Forum: Support
- Replies (1)
|
 |
Espa?ol:?Hola buenas, esto es solo dudas que tengo, sobre que era lo que ocasiona el lag en el servidor, anteriormente habia leido un post de forum samp sobre las razones del lag en el servidor, entre estas estaban:
- Mal uso de las celdas
- Plugins no actualizados
Esos recuerdo, alguien que me pueda decir m?s razones del lag en el servidor se lo agradecer?a
English:?Hello good, this is only doubts that I have, about what was causing the lag in the server, I had previously read a post on forum samp about the reasons for the lag in the server, among these were:
- Misuse of cells
- Plugins not updated
Those memories, someone who can tell me more reasons for the lag in the server would appreciate it
|
|
|
GetPlayerCameraAspectRatio |
Posted by: robertocaribbean - 2021-03-23, 09:37 PM - Forum: Pawn Scripting
- Replies (2)
|
 |
Hello everyone.
I have read in the open.mp documentation about this function, and if I understand correctly it can only return three values:
Widescreen ON: Should be 1.7764707 but I get 1.000000.
Widescreen OFF: Should be 1.3333334 but I get 1.000000.
5:4 when the LETTERBOX mode is ON: 1.2470589. I don't know how to test this.
Is there something I'm not understanding or is the wiki wrong?
Here is the code:
PHP Code: public OnPlayerConnect(playerid) { ? ? new Float:pAspectRatio; ? ? pAspectRatio = GetPlayerCameraAspectRatio(playerid);
? ? new str[80]; ? ? format(str, sizeof(str), "Your aspect ratio is: %f", pAspectRatio); ? ? print(str); }
|
|
|
[Solved] GetAnimationName() is not working properly |
Posted by: Radical - 2021-03-23, 08:43 PM - Forum: Pawn Scripting
- Replies (2)
|
 |
SOLUTION:
Store that animation lib and name in a variable.
e.g. :
Code: new rAnimLib[MAX_PLAYERS][20];
new rAnimName[MAX_PLAYERS][20];
COMMAND:anim(playerid, params[]) {
? ? ApplyAnimation(playerid, "PED", "IDLE_STANCE", 4.1, 0, 0, 0, 0, 0);
? ? rAnimLib[playerid] = "PED";
? ??rAnimName[playerid] = "IDLE_STANCE";
? ? return 1;
}
GetAnimationNameEx(playerid, Lib[20], Name[20])
{
? ? Lib = rAnimLib[playerid];
? ? Name = rAnimName[playerid];
}
//use this method instead of GetAnimationName.
I use GetAnimationName() function but it only returns PED, IDLE_STANCE or PED,SEAT_IDLE or PED,WOMAN_IDLESTANCE.
When i apply another animations like /eat, /sit, /lay
this function not give me the applied animation animlib and animname but just return PED, IDLE_STANCE.
PHP Code: ApplyAnimation(playerid,"BEACH","Lay_Bac_Loop",4.1, 0, 1, 1, 1, 1, 1); // Sit
ApplyAnimation(playerid,"BEACH", "bather",4.1, 0, 1, 1, 1, 1, 1); // Lay down
CMD:anim(playerid) {
? ? if(GetPlayerAnimationIndex(playerid))
{
? ? new animlib[32];
? ? new animname[32];
? ? new msg[128];? ?
? ? GetAnimationName(GetPlayerAnimationIndex(playerid),animlib,32,animname,32);
? ? format(msg, 128, "Running anim: %s %s", animlib, animname);
? ? SendClientMessage(playerid, -1, msg); // output is: PED IDLE_STANCE
}
? ? return 1;
}
In other gamemodes that I test, this problem does not occur.
I need to fix this problem quickly.
thanks for the anyone answer.
|
|
|
|