| Welcome, Guest |
You have to register before you can post on our site.
|
| Forum Statistics |
» Members: 8,103
» Latest member: rae
» Forum threads: 2,441
» Forum posts: 12,460
Full Statistics
|
| Online Users |
There are currently 305 online users. » 0 Member(s) | 301 Guest(s) Yandex, Bing, DuckDuckGo, Google
|
| Latest Threads |
Help me find a current ar...
Forum: Tech
Last Post: KOZYR
2026-04-24, 03:53 PM
» Replies: 0
» Views: 42
|
Czy SA:MP RP jeszcze żyje...
Forum: Ogólne
Last Post: Sztakier
2026-04-24, 09:11 AM
» Replies: 0
» Views: 49
|
Donald Trump wars every c...
Forum: Life
Last Post: NoxxeR
2026-04-23, 08:04 PM
» Replies: 0
» Views: 51
|
Ajuda com salvamento nao ...
Forum: Portuguese/Português
Last Post: zGu1Zin_
2026-04-22, 10:05 PM
» Replies: 0
» Views: 55
|
PawnPro 3.0 — Extensão VS...
Forum: Portuguese/Português
Last Post: NullSablex
2026-04-19, 10:58 AM
» Replies: 0
» Views: 74
|
Harmony Maps
Forum: Maps
Last Post: Harmony
2026-04-19, 09:36 AM
» Replies: 0
» Views: 95
|
SOLS Roleplay (2026)
Forum: Advertisements
Last Post: TyDolla
2026-04-18, 04:47 PM
» Replies: 0
» Views: 113
|
SOLS Roleplay (Official T...
Forum: Videos and Screenshots
Last Post: TyDolla
2026-04-18, 04:45 PM
» Replies: 0
» Views: 76
|
SAMPHUB.
Forum: Spanish/Español
Last Post: picxii
2026-04-16, 02:14 PM
» Replies: 19
» Views: 41,482
|
Project: LAS VENTURAS ROL...
Forum: Advertisements
Last Post: Kremzy
2026-04-15, 12:49 AM
» Replies: 0
» Views: 99
|
|
|
| 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; }
|
|
|
|
| Skins won't get changed. |
|
Posted by: Axitz - 2021-04-05, 05:37 AM - Forum: Pawn Scripting
- Replies (4)
|
 |
Hi,
I'm not sure whats wrong with it. I tried multiple ways to fix this problem but it keep sending me same messages.
It compiled without errors and warnings.
Whenever this system trigged on my server, it keep changing the skin to CJ skins not the one I set in [FSkins1].
PHP Code: if(PlayerInfo[playerid][playerteam] == faction1 || PlayerInfo[playerid][playerteam] == faction2) { ? ? ? ? ? ? ?new teami = maskid[playerid]; ? ? ? ? ? ? SetPlayerTeam(playerid, teami); ? ? ? ? ? ? playerwarinv[playerid] = 1; ? ? ? ? ? ? inv_timer[playerid] = SetTimerEx("killinv", 179000, false, "i", playerid); ? ? ? ? ? ? if(iTier != FactionInfo[playerid][FSkin1]) ? ? ? ? ? ? { ? ? ? ? ? ? ? ? ?//new warskin = FactionInfo[playerid][FSkin1]; SendClientError(playerid, "Your skin has been changed because you don't have current faction ones."); ? ? ? ? ? ? ? ? ?SetPlayerSkin(playerid, FactionInfo[playerid][FSkin1]); ? ? ? ? ? ? ? ? ?PlayerInfo[playerid][Skin] = FactionInfo[playerid][FSkin1]; ? ? ? ? ? ? ?} }
|
|
|
|
| BIG TETRIS & ZERO's TETRIS |
|
Posted by: Name - 2021-04-04, 07:02 PM - Forum: Videos and Screenshots
- No Replies
|
 |
_____________________________________________________________________________________________________________________________________________________________
page 1
Name: Tetris
Map type: Exterior
Author of map: MrName (me)
Number of objects: 265
Number of textures: 262 and 16 texts
Removed SA objects: 0
Custom objects: 0
Location of map: Easter basin, San Fierro
Map editor used: MSR's mapping system
Reference: Tetris?
About map: Huge tetris object on Easter Basin's ship, ships was already there, added tetris and tetris blocks on top and near ship.
Screenshots:
page 1
_______________________________________________________________________________________________________________________________________________________________________________________
_____________________________________________________________________________________________________________________________________________________________________________________________________________________________
page 2
Name: Zero's tetris
Map type: Exterior
Author of map: MrName (me)
Number of objects: 183
Number of textures: 175
Removed SA objects: 0
Custom objects: 0
Location of map: Garcia, San Fierro
Map editor used: MSR's mapping system
Reference: Tetris game
About map: Tetris blocks with realistic crane on top of the building near Zero's place. Crane is placing top tetris blocks on lower rooftop.
Screenshots:
page 2
_______________________________________________________________________________________________________________________________________________________________________________________
|
|
|
|
| How to save the position/skin of the player after exiting? |
|
Posted by: CrypticSin - 2021-04-03, 10:06 PM - Forum: Pawn Scripting
- Replies (10)
|
 |
Hi, im currently scripting a server and i want to know how a players progress is saved on the server??
So for example, when the user selects their skin i want the player to keep their skin until they decide to change it manually,?instead of the skin selection appearing everytime someone logs in.
Also how do you save the position of a player when they exit the game? and when they log back?back in it should log the user back to the same posiiton they exited?
What are the areas in the SAMP-wiki should i look into to make something like this?
|
|
|
|
|