| Welcome, Guest |
You have to register before you can post on our site.
|
| Forum Statistics |
» Members: 8,108
» Latest member: livpoa
» Forum threads: 2,444
» Forum posts: 12,464
Full Statistics
|
| Online Users |
There are currently 380 online users. » 0 Member(s) | 375 Guest(s) Google, Applebot, Yandex, Bing, DuckDuckGo
|
| Latest Threads |
Object Remove?
Forum: Support
Last Post: Mivco
Yesterday, 08:12 PM
» Replies: 0
» Views: 27
|
Floorp is a good webbrows...
Forum: Tech
Last Post: NoxxeR
Yesterday, 01:01 AM
» Replies: 0
» Views: 48
|
Looking for Players for N...
Forum: Advertisements
Last Post: AlmightyJeremy
2026-04-27, 03:36 PM
» Replies: 0
» Views: 54
|
Algemene Discussies
Forum: Dutch/Nederlands
Last Post: Eamon
2026-04-27, 12:03 AM
» Replies: 41
» Views: 85,488
|
Help me find a current ar...
Forum: Tech
Last Post: KOZYR
2026-04-24, 03:53 PM
» Replies: 0
» Views: 74
|
Czy SA:MP RP jeszcze żyje...
Forum: Ogólne
Last Post: Sztakier
2026-04-24, 09:11 AM
» Replies: 0
» Views: 74
|
Donald Trump wars every c...
Forum: Life
Last Post: NoxxeR
2026-04-23, 08:04 PM
» Replies: 0
» Views: 89
|
Ajuda com salvamento nao ...
Forum: Portuguese/Português
Last Post: zGu1Zin_
2026-04-22, 10:05 PM
» Replies: 0
» Views: 77
|
PawnPro 3.0 — Extensão VS...
Forum: Portuguese/Português
Last Post: NullSablex
2026-04-19, 10:58 AM
» Replies: 0
» Views: 89
|
Harmony Maps
Forum: Maps
Last Post: Harmony
2026-04-19, 09:36 AM
» Replies: 0
» Views: 124
|
|
|
| Textdraw Actions |
|
Posted by: ForT - 2021-04-10, 06:28 AM - Forum: Libraries
- Replies (4)
|
 |
Textdraw Actions
A simple include that shows a small action box in the center of the screen with options Y and N for the player to choose.
Download
https://github.com/dimmyi/td-actions
Preview:
Image: https://i.imgur.com/90W43SI.png
![[Image: 8VQLmcn.gif]](https://i.imgur.com/8VQLmcn.gif)
Usage:
PHP Code: #include <td-actions>
CMD:infernus(playerid)
{
? ? ShowActionForPlayer(playerid, ActionInfernus, "Do you really want to spawn a infernus in this position?", .action_time = 10000);
? ? return 1;
}
Action:ActionInfernus(playerid, response)
{
? ? if (response == ACTION_RESPONSE_YES)
? ? {
? ? ? ? new Float:x, Float:y, Float:z, Float:ang;
? ? ? ? GetPlayerPos(playerid, x, y, z);
? ? ? ? GetPlayerFacingAngle(playerid, ang);
? ? ? ? new vehicleid = CreateVehicle(411,
? ? ? ? ? ? x 2.5 * floatsin(-ang, degrees),
? ? ? ? ? ? y 2.5 * floatcos(-ang, degrees),
? ? ? ? ? ? z 0.3,
? ? ? ? ? ? ang,
? ? ? ? ? ? 0,
? ? ? ? ? ? 0,
? ? ? ? ? ? -1);
? ? ? ? LinkVehicleToInterior(vehicleid, GetPlayerInterior(playerid));
? ? ? ? SetVehicleVirtualWorld(vehicleid, GetPlayerVirtualWorld(playerid));
? ? } else {
? ? ? ? SendClientMessage(playerid, -1, "You didn't want to spawn a infernus.");
? ? }
}
Responses:
- ACTION_RESPONSE_NO_CHOOSE - When the player does not choose an option
- ACTION_RESPONSE_NO -?When the player presses the N key
- ACTION_RESPONSE_YES -?When the player presses the Y?key
|
|
|
|
| SHA256 SALT in PHP? |
|
Posted by: CoPete? - 2021-04-08, 08:59 PM - Forum: Programming
- Replies (1)
|
 |
Hi!?please I would like you to help me authenticate the users on the web page, the problem I have is that I use in the gamemode the password settlement system sha256 a salt that I got in forum samp (maybe they know which)?and I don't know how I could do an autiticator?in php, thanks
|
|
|
|
| Help |
|
Posted by: Nightmare - 2021-04-08, 04:45 PM - Forum: Pawn Scripting
- Replies (2)
|
 |
hello i'm new in pawn scripting, i'm compiling a filterscript, and appears this error: "undefined symbol 'AddSimpleModel'". I searched how solve it but i don't found solutions. Can someone help?
img link:
https://prnt.sc/117hc5z
|
|
|
|
| Dialog selection doesn't work. |
|
Posted by: Axitz - 2021-04-08, 03:57 PM - Forum: Pawn Scripting
- Replies (1)
|
 |
Hi sorry for keep creating thread.
I'm not really familiar with dialog system, therefore I tried creating it in dialog version but it doesn't work like what I wanted it to be.
I clicked one of the vehicle but it select everything and unimpound everything I owned plus the faction vehicles.
I have to upload it on pastebin due to thread messed up the code.
https://pastebin.com/raw/BG9f6WQn
|
|
|
|
| A correctly installed Filterscript (driverfs) does not work. |
|
Posted by: Boxi - 2021-04-07, 06:33 PM - Forum: Pawn Scripting
- Replies (2)
|
 |
Hi it's me again :C (I think I'll get banned from this forum if I keep posting so often :P)
Anyway, I need your help to install this FilterScript?https://github.com/Naseband/SAMP-Driver-FS??I downloaded and installed all the libraries it requires, I compiled it without problems, but when I install it on the server and try to use a command I get the message "Unknown command" when the command I use is defined, basically it's as if the FS does not start.
Someone already tried to install this FS or know how to solve this problem? I would appreciate your help. Greetings to all!
|
|
|
|
| Not sending an error message |
|
Posted by: Axitz - 2021-04-07, 02:32 PM - Forum: Pawn Scripting
- Replies (5)
|
 |
I have this problem when I use the other method, it does work but if I change it the way I wanted, it doesn't. Please help.?
This one does work.
PHP Code: if(Vehicles[vehicleid][impounded] == 1) return SendClientMSG(playerid, COLOR_RED, "{ff6347}Error: Unable to spawn because it is impounded.");
This one doesn't work. No Idea why.
PHP Code: if(Vehicles[vehicleid][impounded] == 1) return SendClientMSG(playerid, COLOR_RED, "{ff6347}Error: Unable to spawn %s (ID: %d) because it is impounded.",GetVehicleName(Vehicles[vehicleid][vrID]), vehicleid);
|
|
|
|
| What is ColAndreas for? |
|
Posted by: Boxi - 2021-04-07, 01:39 PM - Forum: Pawn Scripting
- Replies (3)
|
 |
I've seen it, on several sites. But I don't know what it is or what it's for, its description on GitHub doesn't tell me much. Does anyone know? thanks!
|
|
|
|
|