| Welcome, Guest |
You have to register before you can post on our site.
|
| Online Users |
There are currently 129 online users. » 0 Member(s) | 126 Guest(s) Google, Applebot, Bing
|
| Latest Threads |
Starting a Roleplay Serve...
Forum: Chat
Last Post: Jimmy96k
8 hours ago
» Replies: 0
» Views: 21
|
Starting a Roleplay Serve...
Forum: General Discussions
Last Post: Jimmy96k
9 hours ago
» Replies: 1
» Views: 34
|
[BETA] Renaissance DM — O...
Forum: Advertisements
Last Post: DrVandersexxx
Yesterday, 04:15 PM
» Replies: 1
» Views: 129
|
PROJECT: RENEWAL ROLEPLAY...
Forum: Advertisements
Last Post: zin
2026-05-16, 08:26 PM
» Replies: 1
» Views: 91
|
Map Pack by: AZZO #1
Forum: Maps
Last Post: MikeNGRP
2026-05-15, 08:52 AM
» Replies: 1
» Views: 1,993
|
[balkan] Ultimate 2020 - ...
Forum: Gamemodes
Last Post: Sardena
2026-05-15, 03:12 AM
» Replies: 11
» Views: 25,202
|
🚀 Free SA-MP Hosting + Op...
Forum: Chat
Last Post: Centnodes
2026-05-12, 05:20 PM
» Replies: 0
» Views: 110
|
Ajuda com salvamento nao ...
Forum: Portuguese/Português
Last Post: zGu1Zin_
2026-05-12, 10:54 AM
» Replies: 3
» Views: 234
|
pawnobots for openmp
Forum: Pawn Scripting
Last Post: MauroRisi
2026-05-11, 03:23 PM
» Replies: 0
» Views: 94
|
Looking for Players for N...
Forum: Advertisements
Last Post: SimonC
2026-05-09, 10:29 PM
» Replies: 1
» Views: 185
|
|
|
| PAWN compiler on VSCode |
|
Posted by: Behemoth - 2021-04-22, 07:48 PM - Forum: Pawn Scripting
- Replies (2)
|
 |
Hi,
I've recently moved over to VSCode for programming and was wondering if anyone has ever used it for PAWN. If so, could you share how you've got the compiler working on it?
Tried playing around but I've had no luck.
Thanks
|
|
|
|
| HELP! How to Change RP name return chat remove underline OnPlayerText but return 0 ? |
|
Posted by: PutuSuhartawan - 2021-04-22, 10:50 AM - Forum: Pawn Scripting
- Replies (7)
|
 |
Code: public OnPlayerText(playerid, text[])
{
? //new AdaSays[90];
// format(AdaSays, sizeof(AdaSays), ""COL_WHITE"Says: %s", text);
// ProcessChatText(playerid, AdaSays);
? //TalkMessage(ACTION_DISTANCE, playerid, "", text);
? SEM(playerid, ""COL_RED"DEBUG: "COL_WHITE"message text example");
? new string[228];
? format(string, sizeof(string), "%s says: %s", GetRPName(playerid), text);
? CloseMessage(playerid, COLOR_WHITE, string);
? //format(string, sizeof(string), "%s says: %s", GetRPName(playerid), text);
//Log("logs/chatlogplayer.log", string);
? format(string,sizeof(string),"%s", text);
? SetPlayerChatBubble( playerid, string,0xFFFFFFFF,20.0,5500);
? return 1;
}
|
|
|
|
| How to get the exacly pos where a bomb drops? |
|
Posted by: annety - 2021-04-20, 06:03 AM - Forum: Support
- Replies (4)
|
 |
I want to make a server with a good PvP like CS-GO
For that i need to make good granades: like smoke,flash,molotov
The effect i can manage to do by using textdraws, create explosion, drunk effect...
But there is only a thing i need someone with more expirience to help me:
How to get the exacly position where bombs when players throw?
To create that flashbang,smoke,molotov effect...
How to get it?
|
|
|
|
| GPS Like GTA 4? |
|
Posted by: Boxi - 2021-04-20, 03:20 AM - Forum: Pawn Scripting
- Replies (3)
|
 |
I would like to know is there any way to make this style of gps, which is marked on the map the path to follow as seen in the image:?
|
|
|
|
| Special Vehicle |
|
Posted by: AbyssMorgan - 2021-04-19, 04:24 PM - Forum: Filterscripts
- No Replies
|
 |
Video:
Full presentation is unavailable sorry
Shoft videos:
- SpecialVehicle #1
- SpecialVehicle #2
Screenshots:
https://imgur.com/a/aNOUwfn
Functions:
Code: SpecialVehicle::IsToggledSpecialAbility(vehicleid);
SpecialVehicle::ToggleSpecialAbility(vehicleid,bool:toggle);
SpecialVehicle::GetSpecialVehicleHealth(vehicleid);
SpecialVehicle::SetDefaultDamage(vehicleid);
SpecialVehicle::EnterPlayer(playerid);
SpecialVehicle::ExitPlayer(playerid);
SpecialVehicle::IsPlayerInSpecialVeh(playerid);
SpecialVehicle::GetPlayerSpecialVehType(playerid);
SpecialVehicle::GetVehicleAmmo(vehicleid);
SpecialVehicle::SetVehicleAmmo(vehicleid,ammo);
SpecialVehicle::GetVehicleSecondaryAmmo(vehicleid);
SpecialVehicle::SetVehicleSecondaryAmmo(vehicleid,ammo);
SpecialVehicle::GetDamage(vehicleid);
SpecialVehicle::SetDamage(vehicleid,Float:damage);
SpecialVehicle::GetVehicleDamage(vehicleid);
SpecialVehicle::SetVehicleDamage(vehicleid,Float:vehicle_damage);
SpecialVehicle::IsToggledTrunkInterior();
SpecialVehicle::ToggleTrunkInterior(bool:toggle);
SpecialVehicle::IsToggledTrailerInterior();
SpecialVehicle::ToggleTrailerInterior(bool:toggle);
SpecialVehicle::IsToggledMaverickMinigun(vehicleid);
SpecialVehicle::ToggleMaverickMinigun(vehicleid,bool:toggle);
SpecialVehicle::Create(modelid,Float:x,Float:y,Float:z,Float:angle,color1,color2,respawn_delay = -1,addsiren = 0,worldid = 0,interiorid = 0);
SpecialVehicle::CreateMOC(Float:x,Float:y,Float:z,Float:z_angle,respawn_delay = -1,addsiren = 0,worldid = 0,interiorid = 0);
SpecialVehicle::CreateMOCIncluded(vehicleid,respawn_delay = -1,addsiren = 0);
Callbacks:
Code: OnPlayerEnterVehIntRequest(playerid,vehicleid);
OnPlayerEnterSpecialSeat(playerid);
OnPlayerEnterOppressor(playerid);
OnPlayerUseCannonFail(playerid);
OnPlayerShootRocketFail(playerid);
OnSpecialTrailerNotConnected(playerid);
OnPlayerShootOPRocketFail(playerid);
OnPlayerEnterVehInterior(playerid,vehicleid,with_vehicle);
OnPlayerExitVehInterior(playerid,vehicleid,with_vehicle);
OnSpecialVehicleHasNoAmmo(playerid,vehicleid);
OnSpecialTrailerAttachFail(playerid,vehicleid,trailerid);
Definitions:
Code: WEAPON_VEHICLE_INTERIOR - after vehicle destroyed players inside vehicle interior got death by this reason
SPECIAL_VEH_AMMO_INFINITY - infinity ammo (default)
Informations
Code: By pressing KEY_ACTION you can use Cargobob/Leviathan magnet when you toggling SecialVehicle
Instalation:
Due to high library requipments, make sure you install libs in right order.
Code: #include <streamer>
#include <colandreas>
#include <EVF>
#include <3DTryg>
#include <ExtendedGrenade> //Extension using by Mines and Missile
#include <Mines>
#include <Missile>
#include <VehPara>
#define SPECIAL_VEH_USE_TEAMS //atention if you turn on teams NO_TEAM is treated as an ordinary team
#include <SpecialVehicle>
Example code:
Code: public OnPlayerEnterVehIntRequest(playerid,vehicleid){
//if vehicle is owned by another team you can block enter to interior here by return 0;
return 1;
}
public OnPlayerEnterSpecialSeat(playerid){
GameTextForPlayer(playerid,"Press ~k~~VEHICLE_HORN~ to enable/disable special weapon",2500,4);
return 1;
}
public OnPlayerEnterOppressor(playerid){
GameTextForPlayer(playerid,"Hold ~k~~VEHICLE_FIREWEAPON_ALT~ for use booster",1000,4);
return 1;
}
public OnPlayerUseCannonFail(playerid){
GameTextForPlayer(playerid,"You cannot use cannon now",1000,4);
return 1;
}
public OnPlayerEnterVehInterior(playerid,vehicleid,with_vehicle){
GameTextForPlayer(playerid,"You entered to vehicle interior, press ~k~~GROUP_CONTROL_BWD~ to exit",2500,4);
return 1;
}
public OnPlayerExitVehInterior(playerid,vehicleid,with_vehicle){
GameTextForPlayer(playerid,"You exit from vehicle interior",2500,4);
return 1;
}
public OnPlayerShootRocketFail(playerid){
GameTextForPlayer(playerid,"You can shoot only aerial targets",1000,4);
return 1;
}
public OnSpecialTrailerNotConnected(playerid){
GameTextForPlayer(playerid,"Trailer is not connected to Truck",1000,4);
return 1;
}
public OnPlayerShootOPRocketFail(playerid){
GameTextForPlayer(playerid,"You can shoot only when you on air",1000,4);
return 1;
}
public OnSpecialVehicleHasNoAmmo(playerid,vehicleid){
GameTextForPlayer(playerid,"You don't have ammo",1000,4);
return 1;
}
public OnSpecialTrailerAttachFail(playerid,vehicleid,trailerid){
SendClientMessage(playerid,0xFFFFFFFF,"You can only attach MOC trailer by MOC Truck");
return 1;
}
CMD:e(playerid){
switch(SpecialVehicle::EnterPlayer(playerid)){
case SPECIAL_VEH_ENTER_FAIL: {
SendClientMessage(playerid,0xFFFFFFFF,"You are not near a special vehicle");
}
case SPECIAL_VEH_ENTER_SUCCES: {
}
case SPECIAL_VEH_ENTER_ONFOOT: {
SendClientMessage(playerid,0xFFFFFFFF,"You must be on foot");
}
case SPECIAL_VEH_ENTER_NOT_ALLOWED: {
SendClientMessage(playerid,0xFFFFFFFF,"You can't enter a special vehicle");
}
}
return 1;
}
CMD:spawn_moc(playerid){
new Float:x,Float:y,Float:z,Float:z_angle;
GetPlayerPos(playerid,x,y,z);
GetPlayerFacingAngle(playerid,z_angle);
SpecialVehicle::CreateMOC(x,y,z,z_angle,-1,0,GetPlayerVirtualWorld(playerid),GetPlayerInterior(playerid));
return 1;
}
Demonstration script:
sv_demo.pwn
You can run demonstration script and go to Las Venturas airport for test Special Vehicles
Download:
3DTryg.inc
EVF.inc
Missile.inc
VehPara.inc
Mines.inc
ExtendedGrenade.inc
SpecialVehicle.inc
ColAndreas Plugin
|
|
|
|
|