| 
| Welcome, Guest |  
| You have to register before you can post on our site. 
 
 |  
 
 
 
| Online Users |  
| There are currently 305 online users. » 0 Member(s) | 302 Guest(s)
 Google,  Bing,  Baidu
 |  
 
| Latest Threads |  
| [GameMode] Brasil Vida Id... Forum: Portuguese/Portugu?s
 Last Post: Brasil Vida Ideal
 2 hours ago
 » Replies: 0
 » Views: 3
 |  
| Grand Gang War (GGW) Forum: Advertisements
 Last Post: coladaciren
 Yesterday, 10:00 AM
 » Replies: 0
 » Views: 20
 |  
| u4gm Battlefield 6 Season... Forum: Art
 Last Post: iiak32484
 Yesterday, 07:46 AM
 » Replies: 0
 » Views: 23
 |  
| u4gm Bonestorm Crushes Pa... Forum: Life
 Last Post: iiak32484
 Yesterday, 07:45 AM
 » Replies: 0
 » Views: 23
 |  
| u4gm FC 26 Ultimate Team ... Forum: Tech
 Last Post: iiak32484
 Yesterday, 07:43 AM
 » Replies: 0
 » Views: 25
 |  
| u4gm Battlefield 6 Season... Forum: Chat
 Last Post: iiak32484
 Yesterday, 07:42 AM
 » Replies: 0
 » Views: 16
 |  
| How to Use Sleep Pots for... Forum: General Discussions
 Last Post: BrightNestK
 2025-10-29, 07:03 AM
 » Replies: 0
 » Views: 31
 |  
| undefined symbol Forum: Portuguese/Portugu?s
 Last Post: leobradoks
 2025-10-25, 08:58 PM
 » Replies: 1
 » Views: 1,597
 |  
| SA:MP Custom Character Li... Forum: General Discussions
 Last Post: Dilshad
 2025-10-22, 04:15 PM
 » Replies: 0
 » Views: 66
 |  
| Anyone got old rp scripts... Forum: General Discussions
 Last Post: Bilal
 2025-10-21, 01:02 PM
 » Replies: 5
 » Views: 5,284
 |  
 |  | 
| Top en 2d |  
| Posted by: Hitler  - 2021-02-23, 02:09 AM - Forum: Pawn Scripting 
- Replies (6) |  
| 
	
		
|  | 
				Espa?ol: ya tengo una funci?n que muestra a los 5 mejores top score, pero como lo hago para hacerlo en un texto 2d?
 
 
 English: I already have a function that shows the top 5 scores, but how do I do it in a 2d text?
 
 
 
 
 Code: CMD:top(playerid)
 {
 
 mysql_pquery(con, "SELECT `Nombre`, `Score` FROM `usuarios` WHERE `Score` > 0 ORDER BY `Score` DESC LIMIT 5", "MejoresScore", "d", playerid);
 
 return 1;
 
 }
 
 
 
 funcion MejoresScore(playerid)
 
 {
 
 new rows = cache_num_rows(),string[300],Escore,nameplayer[MAX_PLAYER_NAME];
 
 if(rows > 0)
 
 {
 
 string = "{FFFFFF}Lista 5?mejores Scores\n\n";
 
 for(new i=0; i<rows; i)
 
 {
 
 cache_get_value_name_int(i, "Score", Escore);
 
 cache_get_value_name(i, "Nombre", nameplayer, MAX_PLAYER_NAME);
 
 format(string, sizeof(string), "%s#%d\t%s? %d Score\n",string,i,nameplayer,Escore);
 
 }
 
 ShowPlayerDialog(playerid, 0, DIALOG_STYLE_MSGBOX, "Top Scores", string, "Cerrar", "");
 
 }
 
 return 1;
 
 }
 
 como as?:? https://imgur.com/SO3F1Fj
 |  
		|  |  |  
 
| [Help] Duelos |  
| Posted by: Hitler  - 2021-02-22, 11:39 PM - Forum: Pawn Scripting 
- Replies (2) |  
| 
	
		
|  | 
				Espa?ol: Hola buenas, tengo un problema con los Duelos y es que como hago para que los jugadores est?n en el mismo Virtual World y que si otros jugadores duelan en la misma arena que no coincidan el virtual world con los otros jugadores, no se si yo estoy explicando bien
 
 
 [c?digo] SetPlayerVirtualWorld (id1, 1);
 
 SetPlayerVirtualWorld (id2, 1); [/ c?digo]
 |  
		|  |  |  
 
 
| gravity 0? |  
| Posted by: Boxi  - 2021-02-21, 01:49 PM - Forum: Pawn Scripting 
- Replies (3) |  
| 
	
		
|  | 
				Hello, is it possible to make a script so that the gravity is 0? or something similar. Greetings!
			 |  
		|  |  |  
 
|  [Suggestion] Battles |  
| Posted by: daddy.  - 2021-02-20, 09:20 PM - Forum: Chat 
- Replies (2) |  
| 
	
		
|  | 
				I came up with the?idea that some kind of battles?(scripting/mapping/designing)?could be organized?to increase the popularity of the forum.
 If we're talking about scripting battle, there is a big number of people who know pawn language very well so they can compete with each other or they can actually be some kind of commission in those battles.
 
 Members can learn a lot of new things from them via these battles and also give some ideas for battles.
 |  
		|  |  |  
 
| i have a error |  
| Posted by: Nicolas_Belic  - 2021-02-20, 01:27 PM - Forum: Pawn Scripting 
- Replies (11) |  
| 
	
		
|  | 
				 Code: new Gl_Privados[MAX_PLAYERS];
 CMD:toggl(playerid, params[]) {
 
 ? ? if (!Gl_Privados[playerid]) {
 
 ? ? ? ? Gl_Privados[playerid] = 1;
 
 ? ? ? ? SendClientMessage(playerid, 2, "GL Off");
 
 ? ? } else if (Gl_Privados[playerid]) {
 
 ? ? ? ? Gl_Privados[playerid] = 0;
 
 ? ? ? ? SendClientMessage(playerid, 2, "GL on");
 
 ? ? }
 
 ? ? return 1;
 
 }
 
 
 
 
 Code: CMD:gl(playerid, params[])
 {
 
 ? ? new Text[132], string[128], PlayerName[MAX_PLAYER_NAME];
 
 
 
 ? ? if(sscanf(params, "s[132]", Text))
 
 ? ? {
 
 ? ? ? ? SendClientMessage(playerid, -1, "{D41818}[COMANDO]{AFAFAF} /gl <texto>");
 
 ? ? }
 
 ? ? else
 
 ? ? {
 
 ? ? ? ? if (Gl_Privados[playerid] == 1) return SendClientMessage(playerid, -1, "{D41818}[ERROR]{AFAFAF} you have blocked the /gl");
 
 ? ? ? ? GetPlayerName(playerid, PlayerName, sizeof(PlayerName)); // storing player name first in the PlayerName variable
 
 ? ? ? ? foreach(new i : Player)
 
 ? ? ? ? {
 
 ? ? ? ? if (Gl_Privados[playerid] == 0)
 
 ? ? ? ? {
 
 ? ? ? ? SendClientMessage(i, 0xFFFFFF00, string);
 
 ? ? ? ? }
 
 ? ? ? ? if (Gl_Privados[playerid] == 1)
 
 ? ? ? ? {
 
 ? ? ? ? }
 
 ? ? ? ? }
 
 ? ? ? ? format(string, sizeof(string), "{D41818}[ID:%d - %s]:{AFAFAF} %s",playerid, PlayerName, Text);
 
 ? ? ? ? SendClientMessageToAll(0xFFFFFF00, string);
 
 ? ? }
 
 
 
 ? ? return 1;
 
 }
 
 
 
 i have a bug with this, when I disable /gl (send message to all players) I get messages from players anyway
 |  
		|  |  |  
 
 
 
| [WIP] Fort Carson Project - Green Oasis |  
| Posted by: Polter  - 2021-02-19, 10:37 PM - Forum: Videos and Screenshots 
- Replies (4) |  
| 
	
		
|  | 
				 
 Hello guys. Today i want to show you my little project that im working for the last week or so. Its all about remaping Fort Carson in green oasis in middle of desert. Its not made for any community nor server, its just my project that im working on as a hobby. Tell me what do you think?! 
 THIS IS STILL WORK IN PROGRESS! 
 
 
 
 
 
 
 
 
 |  
		|  |  |  
 
| Someone can help me with this? |  
| Posted by: Nicolas_Belic  - 2021-02-19, 10:21 PM - Forum: Pawn Scripting 
- Replies (1) |  
| 
	
		
|  | 
				 PHP Code: new B_Privados[MAX_PLAYERS];
 CMD:togmp(playerid, params[]) {
 
 ? ? if (!B_Privados[playerid]) {
 
 ? ? ? ? B_Privados[playerid] = 1;
 
 ? ? ? ? SendClientMessage(playerid, 2, "MP OFF");
 
 ? ? } else if (B_Privados[playerid]) {
 
 ? ? ? ? B_Privados[playerid] = 0;
 
 ? ? ? ? SendClientMessage(playerid, 2, "MP ON");
 
 ? ? }
 
 ? ? return 1;
 
 }
 
 
 
 
 [color=#333333][size=small][font=Tahoma, Verdana, Arial, sans-serif]
 ?y try to make a togmp (Private Message) system but i can't,??when the player sends me a private message I receive it when my / mp is disabledPHP Code: [/font][/size][/color]CMD:mp(playerid, params[])
 {
 
 ? ? new PmPlayer, Message[124], String[124], PlayerName[MAX_PLAYER_NAME], PlayerName2[MAX_PLAYER_NAME], PmSent[50];
 
 ? ? if (B_Privados[playerid] == 1) return SendClientMessage(playerid, 0, "You blocked the /mp");
 
 ? ? if (sscanf(params, "us[140]", PmPlayer, Message)) return SendClientMessage(playerid, 0xFFFFFFFF, "{D41818}[COMMAND]{AFAFAF} /mp <id> <text>");
 
 ? ? if (!IsPlayerConnected(PmPlayer)) return SendClientMessage(playerid, 0xFF0000FF, "{D41818}[ERROR]{AFAFAF} The player he's not connected");
 
 ? ? else{
 
 ? ? ? ? GetPlayerName(playerid, PlayerName, sizeof(PlayerName));
 
 ? ? ? ? GetPlayerName(PmPlayer, PlayerName2, sizeof(PlayerName2));
 
 ? ? ? ? if (B_Privados[PmPlayer[0]] == 1) return SendClientMessage(playerid, 0, "This player has blocked the /mp");
 
 ? ? ? ? format(PmSent, sizeof(PmSent), "MP sended to %s", PlayerName2);
 
 ? ? ? ? SendClientMessage(playerid, 0xfce80cff, PmSent);
 
 ? ? ? ? format(String, sizeof(String), "[MP - ID:%d] %s: %s",playerid,PlayerName, Message);
 
 ? ? ? ? SendClientMessage(PmPlayer, 0xfdfe8bff, String);
 
 ? ? ? ? printf("%s to %s, %s", PlayerName, PlayerName2, Message);
 
 ? ? }
 
 ? ? return 1;
 
 }
 
 |  
		|  |  |  
 |