| Welcome, Guest |
You have to register before you can post on our site.
|
| Online Users |
There are currently 377 online users. » 1 Member(s) | 373 Guest(s) Bing, Google, Yandex, MrKacu13
|
| Latest Threads |
Welcome to los santos !
Forum: Advertisements
Last Post: xInVinCiBlE
Today, 07:48 AM
» Replies: 0
» Views: 29
|
open.mp for MacOS
Forum: Releases
Last Post: Xyranaut
Yesterday, 10:17 PM
» Replies: 2
» Views: 103
|
ShadowVale Freeroam/Rolep...
Forum: Advertisements
Last Post: iiAmerii
Yesterday, 09:05 PM
» Replies: 0
» Views: 31
|
HOW TO CLOSE INCOMING CON...
Forum: Questions and Suggestions
Last Post: anil_erdogan0
Yesterday, 04:46 AM
» Replies: 0
» Views: 44
|
LS-RCR - Los Santos Rolep...
Forum: Advertisements
Last Post: Karthik
2026-05-18, 05:07 PM
» Replies: 0
» Views: 48
|
mysql_samp
Forum: Plugins
Last Post: NullSablex
2026-05-18, 04:46 PM
» Replies: 1
» Views: 358
|
Starting a Roleplay Serve...
Forum: Chat
Last Post: Jimmy96k
2026-05-17, 10:14 PM
» Replies: 0
» Views: 57
|
Starting a Roleplay Serve...
Forum: General Discussions
Last Post: Jimmy96k
2026-05-17, 09:56 PM
» Replies: 1
» Views: 79
|
[BETA] Renaissance DM — O...
Forum: Advertisements
Last Post: DrVandersexxx
2026-05-17, 04:15 PM
» Replies: 1
» Views: 142
|
PROJECT: RENEWAL ROLEPLAY...
Forum: Advertisements
Last Post: zin
2026-05-16, 08:26 PM
» Replies: 1
» Views: 112
|
|
|
| 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]PHP 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;
}
?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 disabled
|
|
|
|
| How i can add this to my command? |
|
Posted by: Nicolas_Belic - 2021-02-19, 02:49 PM - Forum: Pawn Scripting
- Replies (1)
|
 |
How can I make sure that only the players who are in my virtual world can read the message that I send, and that those who are not in my virtual world do not read the message?
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
? ? {
? ? ? ? GetPlayerName(playerid, PlayerName, sizeof(PlayerName)); // storing player name first in the PlayerName variable
? ? ? ? format(string, sizeof(string), "[ID:%d - %s]: %s",playerid, PlayerName, Text); //[ID:12 - Sebasti?n Price] texto
? ? ? ? SendClientMessageToAll(0xFFFFFF00, string);
? ? }
? ? return 1;
}
|
|
|
|
| [HELP] NPC anim |
|
Posted by: spyrothedragon96 - 2021-02-19, 02:29 PM - Forum: Pawn Scripting
- No Replies
|
 |
Hi everyone, I have a little problem with NPCs.
I have created a fs animations for NPCs?to run via a command: /animname <npcname>
The problem is this: if there are two NPCs called NPC1 and NPC11 in game, when I assign an animation to NPC11 by typing for example /roadcross npc11, the animation is performed on NPC1.
It is as if the command captured NPC1 first.
Same thing happens, for example, if there are NPC2 and NPC21 ... The command is first captured by NPC2
Instead, if I delete NPC1 and now run the command on NPC11 it works.
Maybe there is a need to set the script so that you have to type the full name?
Do you know how I can solve?
This is the example of the script:
PHP Code: CMD:npc_roadcross(playerid, params[]) { new targetid; if(sscanf(params, "u", targetid)) return SendClientMessage(playerid, -1, "Use: /npc_anim <playerid/npc>"); ? ? if(!IsPlayerConnected(targetid)) return SendClientMessage(playerid, -1, "Invalid Player id."); ? ? ApplyAnimation(targetid, "PED","roadcross",4.0,0,0,0,0,-1); ? ? return 1; }
|
|
|
|
|