| Welcome, Guest |
You have to register before you can post on our site.
|
| Forum Statistics |
» Members: 8,008
» Latest member: libzul
» Forum threads: 2,419
» Forum posts: 12,336
Full Statistics
|
| Online Users |
There are currently 114 online users. » 0 Member(s) | 113 Guest(s) Bing
|
| Latest Threads |
Pawno compiler (pawncc.ex...
Forum: Support
Last Post: PutuSuhartawan
Yesterday, 11:12 PM
» Replies: 0
» Views: 12
|
jtyyti
Forum: Releases
Last Post: libzul
Yesterday, 06:56 AM
» Replies: 0
» Views: 18
|
hretjurtu
Forum: Pawn Scripting
Last Post: libzul
Yesterday, 06:55 AM
» Replies: 0
» Views: 19
|
rhretjutu
Forum: Questions and Suggestions
Last Post: libzul
Yesterday, 06:53 AM
» Replies: 0
» Views: 18
|
🎮 Free SA-MP Server Hosti...
Forum: Chat
Last Post: Centnodes
2026-03-16, 08:24 AM
» Replies: 12
» Views: 2,542
|
[0.3.7 & 0.3.DL] Los Sant...
Forum: Advertisements
Last Post: renza1st
2026-03-16, 05:58 AM
» Replies: 0
» Views: 47
|
Las Venturas Gang Wars - ...
Forum: Advertisements
Last Post: lvgwgta
2026-03-13, 11:17 AM
» Replies: 0
» Views: 72
|
Atlanta DeathMatch/Team D...
Forum: Advertisements
Last Post: NixaSha
2026-03-10, 04:57 AM
» Replies: 1
» Views: 100
|
mysql_samp
Forum: Plugins
Last Post: NullSablex
2026-03-10, 03:33 AM
» Replies: 0
» Views: 118
|
backtrace
Forum: Questions and Suggestions
Last Post: Lyvex
2026-03-09, 06:32 AM
» Replies: 0
» Views: 80
|
|
|
| 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
|
|
|
|
|