| Welcome, Guest |
You have to register before you can post on our site.
|
| Forum Statistics |
» Members: 6,590
» Latest member: folvep
» Forum threads: 2,448
» Forum posts: 12,469
Full Statistics
|
| Online Users |
There are currently 220 online users. » 0 Member(s) | 218 Guest(s) Bing, Yandex
|
| Latest Threads |
dhfhery
Forum: Pawn Scripting
Last Post: folvep
Yesterday, 12:48 PM
» Replies: 0
» Views: 26
|
rhrretru
Forum: Support
Last Post: folvep
Yesterday, 12:46 PM
» Replies: 0
» Views: 23
|
arfawrfatv
Forum: Questions and Suggestions
Last Post: folvep
Yesterday, 12:44 PM
» Replies: 0
» Views: 22
|
[BETA] Renaissance DM — O...
Forum: Advertisements
Last Post: DrVandersexxx
2026-05-04, 01:44 PM
» Replies: 0
» Views: 66
|
Ajuda com salvamento nao ...
Forum: Portuguese/Português
Last Post: Crazy_ArKzX
2026-05-02, 11:28 AM
» Replies: 1
» Views: 130
|
Object Remove?
Forum: Support
Last Post: Mivco
2026-04-29, 08:12 PM
» Replies: 0
» Views: 66
|
Floorp is a good webbrows...
Forum: Tech
Last Post: NoxxeR
2026-04-29, 01:01 AM
» Replies: 0
» Views: 87
|
Looking for Players for N...
Forum: Advertisements
Last Post: AlmightyJeremy
2026-04-27, 03:36 PM
» Replies: 0
» Views: 94
|
Algemene Discussies
Forum: Dutch/Nederlands
Last Post: Eamon
2026-04-27, 12:03 AM
» Replies: 41
» Views: 85,698
|
Help me find a current ar...
Forum: Tech
Last Post: KOZYR
2026-04-24, 03:53 PM
» Replies: 0
» Views: 95
|
|
|
How can I do this? |
|
Posted by: Boxi - 2021-02-26, 09:14 PM - Forum: Pawn Scripting
- Replies (10)
|
 |
Hello everyone! A few days ago he asked how to modify the gravity, his answers helped me a lot. But now I have another problem, and it is that I need gravity to be X in a certain place. How do I do this? with VirtualWorld? I would MUCH appreciate your help. Greetings! :D
|
|
|
|
| Take the angle of a position |
|
Posted by: Marllun - 2021-02-26, 03:10 PM - Forum: Pawn Scripting
- Replies (5)
|
 |
I would like to know how I get the angle of an X, Y,?Z coordinate, To use for example in the function SetPlayerFacingAngle
Example:
stock Float:GetAnglePos(Float:x, Float:y, Float:z) {
?Code..
return angle;
}
|
|
|
|
| How does one make a top5? |
|
Posted by: Z3fRaN - 2021-02-26, 01:37 AM - Forum: Pawn Scripting
- Replies (10)
|
 |
I don't have a good idea on how to make a top5 all time it, only thing I can think of is for(i=0;i<MAX_PLAYERS;i) but don't know how to continue the rest.
|
|
|
|
AFK Damage |
|
Posted by: Lord_Bukake - 2021-02-24, 04:57 PM - Forum: Pawn Scripting
- Replies (5)
|
 |
Hi everyone, how can I hurt a player who is in afk?
I have seen this system on other servers but have no idea how to program it.
Could you help me please, thanks.
|
|
|
|
| help with this pls |
|
Posted by: Nicolas_Belic - 2021-02-23, 11:29 PM - Forum: Pawn Scripting
- Replies (7)
|
 |
Code: CMD:id(playerid, params[]) {
? ? if (sscanf(params, "u", params[0])) return SendClientMessage(playerid, -1, "{D41818}[COMMAND]{AFAFAF} /id <nick>");
? ? if (!IsPlayerConnected(params[0])) return SendClientMessage(playerid, -1, "{D41818}[ERROR]{AFAFAF} Player not found");
? ? new string[128];
? ? new name[MAX_PLAYER_NAME];
? ? GetPlayerName(playerid, name, sizeof(name));
? ? format(string, sizeof(string), "%d - [ID]:%s", params[0], name);
? ? SendClientMessage(playerid, 0x969696FF, string);
? ? return 1;
}
my idea is to make a command so that when you put / id and the name of the player you can receive the ID of the player
|
|
|
|
Random Player |
|
Posted by: Lord_Bukake - 2021-02-23, 04:42 PM - Forum: Pawn Scripting
- Replies (3)
|
 |
Hi, how can i randomly select a player and have it run once per game?
i have a TDM server for rounds and i need it to run only once per game
This is my code:
Code: new ran = random(GetPlayerPoolSize());
loop_start:
if(!IsPlayerConnected(ran))
{
? ? ran = random(GetPlayerPoolSize());
? ? goto loop_start;
}
printf("player found");
printf("%d",ran);
if(team[ran] == TEAM_GREEN)SpawnPlayer(ran);
GetPlayerPos(ran, xpo, ypo, zpo);
The problem is that it runs more than once, can you help me please?, thanks
|
|
|
|
| Openmp status |
|
Posted by: RhaegarX - 2021-02-23, 01:06 PM - Forum: Questions and Suggestions
- Replies (1)
|
 |
Hello, it's been a few months since the latest information on the development situation of openmp. does anyone know how to inform the development of the project? are we close to maybe having a public beta?
|
|
|
|
| command-guess |
|
Posted by: Tama - 2021-02-23, 10:55 AM - Forum: Libraries
- Replies (1)
|
 |
command-guess
A guesser command who uses levenshtein distance algoritm written in pawn.
Now it's support ZCMD-like command processor!
Maybe if you want this to?support more command processor, just make an issue on my github?and i'll figure it out.
Usage:
PHP Code: #include <a_samp> #include <izcmd> #include <command-guess>
main() { ? ? print("Script loaded"); } public OnPlayerCommandPerformed(playerid, cmdtext[], success) { ? ? if (!success) { ? ? ? ? new ? ? ? ? ? ? guessCmd[32];
? ? ? ? CommandGuess(guessCmd, cmdtext);
? ? ? ? SendClientMessageEx(playerid, -1, "{FF0000}ERROR:{FFFFFF} \"%s\" is not found, did you mean \"%s\"?", cmdtext, guessCmd); ? ? ? ? return 1; ? ? } ? ? return 1; }
Downloads:
GitHub Release
|
|
|
|
|