| Welcome, Guest |
You have to register before you can post on our site.
|
| Online Users |
There are currently 184 online users. » 1 Member(s) | 181 Guest(s) Google, Bing, edgy
|
| Latest Threads |
NoxxeR is back, with vide...
Forum: Videos and Screenshots
Last Post: NoxxeR
1 hour ago
» Replies: 0
» Views: 7
|
AntyCheat System [SA-MP/O...
Forum: Filterscripts
Last Post: Pevenaider
2025-12-25, 04:58 PM
» Replies: 9
» Views: 17,611
|
After School Roleplay - G...
Forum: Advertisements
Last Post: cosminupgaming
2025-12-25, 12:58 PM
» Replies: 7
» Views: 502
|
RolePlay Gamemode [WIP]
Forum: Gamemodes
Last Post: su109551
2025-12-24, 10:48 PM
» Replies: 5
» Views: 133
|
Discord Server Unable to ...
Forum: Chat
Last Post: cosminupgaming
2025-12-24, 05:58 PM
» Replies: 0
» Views: 35
|
My website is now up
Forum: Tech
Last Post: Centnodes
2025-12-23, 07:19 PM
» Replies: 1
» Views: 97
|
Broken voice
Forum: Support
Last Post: yunnnjunior
2025-12-23, 11:41 AM
» Replies: 0
» Views: 35
|
United Gaming Life Rolepl...
Forum: Advertisements
Last Post: Cruncher
2025-12-22, 09:14 PM
» Replies: 0
» Views: 48
|
LCSHosting.eu - Free SA-M...
Forum: Tech
Last Post: LCSLaces
2025-12-22, 07:54 PM
» Replies: 1
» Views: 124
|
Discord problem.
Forum: Support
Last Post: drwnrbbt
2025-12-22, 04:52 AM
» Replies: 2
» Views: 80
|
|
|
| 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!
|
|
|
|
| FIlterscript not loading on my gamemode |
|
Posted by: CrypticSin - 2021-04-06, 11:56 PM - Forum: Pawn Scripting
- No Replies
|
 |
Hello, i'm using a zombie ai filterscript and it seems to be working perfectly fine on a the default game modes like bare.pwn but the filterscript does not work on my custom gamemode..
I've compiled my code and i get no errors/warnings, although according to my research it's something got to do with mysql.
I've got mysql setup for login/register and im still unsure why the NPC's do not appear.
I've added IsPlayerNPC script to public OnDialogResponse just before the login but the NPC's still dont show up. Although i know they are in the game because i can give weapon to them, so they do exist it's jsut i cant see them for some odd reason.
I've been told to write a script to check if there is an NPC on connect, but im unsure of doing that so any help would be appreciated.
Thanks
|
|
|
|
| Sasinosoft Houses 2.0 (Legacy / Won't Fix) |
|
Posted by: Sasino97 - 2021-04-06, 11:00 PM - Forum: Filterscripts
- No Replies
|
 |
Since the SA-MP Forums are gone, I'm re-publishing?my 2012 housing script here as some people may need it and can't find it.
Features:
- Ownable houses
- Ownable businesses
- Purchase furniture
- House storage (money and weapons)
- Sell house to the bank (not to players)
Github
|
|
|
|
| CreateDynamic3DTextLabel doesn't appear on the server. |
|
Posted by: Axitz - 2021-04-06, 09:49 AM - Forum: Pawn Scripting
- Replies (2)
|
 |
My label doesn't appear on the server, any idea why?
PHP Code: enum FInfo {
.
.
.
Text3D:HQLabel
}
PHP Code: LoadFactions() {
for(new i = 0, l = MAX_FACTIONS; i != l; i)
{
? ? FactionInfo[i][FActive] = false;
? ?
? ? new iMessage[256], iFormat[128];
format(iFormat, sizeof(iFormat), "Faction HQ"); strcat(iMessage, iFormat);
FactionInfo[i][HQLabel] = CreateDynamic3DTextLabel(iMessage, 0xFFFFFFFF, FactionInfo[i][fenter_x], FactionInfo[i][fenter_y], FactionInfo[i][fenter_z].3, 20.0); // Yeah Ok
}
}
|
|
|
|
| Start the engine of an npc? |
|
Posted by: Boxi - 2021-04-05, 09:52 PM - Forum: Pawn Scripting
- Replies (3)
|
 |
Hello everyone! well I have the following problem, and is that I already installed helicopter as npc and appears in the game normally, but the engine is not on, I did the following to try to turn it on but it does not work any idea? thanks c:
Code: helicoptero1 = AddStaticVehicle(487,-2102.1294,-2237.8005,30.6250,142.4440,0,137);
? ?
GetVehicleParamsEx(helicoptero1,engine, lights, alarm, doors, bonnet, boot, objective);
SetVehicleParamsEx(helicoptero1, VEHICLE_PARAMS_ON, engine, lights, alarm, bonnet, boot, objective);
|
|
|
|
| Script is taking opposite value. |
|
Posted by: Axitz - 2021-04-05, 01:23 PM - Forum: Pawn Scripting
- Replies (1)
|
 |
Hi again,
When I tried to get the nearest unlocked house, it shows unknown command but when I closed the house, it does work but it was opposite of what I want.
Command I make to test the system
PHP Code: COMMAND:testhouse(playerid, params[]) { ? ? //GetClosestHouse ? ? new iClosest = GetClosestHouse(playerid); SetPlayerCheckpoint(playerid, House[iClosest][House_x], House[iClosest][House_y], House[iClosest][House_z], 3.0); SendClientInfo(playerid, "Marker set to the closest house."); return 1; }
Function
PHP Code: stock GetClosestHouse(playerid) { new ? ? cl_ID = -1, Float:cl_DIST = 9999.0;
for(new i=1, l=MAX_HOUSES; i != l; i) { ? ? if(House[i][locked] != 1) continue; if( GetPlayerDistanceToPointEx(playerid, House[i][House_x],? House[i][House_y], House[i][House_z]) < cl_DIST ) { ? ? cl_ID = i; ? ? cl_DIST = GetPlayerDistanceToPointEx(playerid, House[i][House_x],House[i][House_y],House[i][House_z]); } } return cl_ID; }
|
|
|
|
|