Welcome, Guest |
You have to register before you can post on our site.
|
Online Users |
There are currently 150 online users. » 0 Member(s) | 146 Guest(s) Bing, Yandex, Google, Discord
|
Latest Threads |
Liberty City map
Forum: Pawn Scripting
Last Post: ziyadprogamer
Yesterday, 04:55 PM
» Replies: 2
» Views: 2,110
|
GameText styles in open.m...
Forum: Pawn Scripting
Last Post: Miki
Yesterday, 01:25 PM
» Replies: 1
» Views: 27
|
Very Basic SAMP UCP
Forum: Videos and Screenshots
Last Post: bullyalina
Yesterday, 12:43 PM
» Replies: 49
» Views: 12,718
|
Script[gamemodes/gamemode...
Forum: Pawn Scripting
Last Post: Miki
2025-06-27, 05:08 PM
» Replies: 1
» Views: 421
|
NFPA 318 Guidelines for C...
Forum: Videos and Screenshots
Last Post: elvishparker277
2025-06-27, 11:05 AM
» Replies: 0
» Views: 39
|
Want to edit my profile n...
Forum: Chat
Last Post: Hera.
2025-06-26, 08:41 PM
» Replies: 1
» Views: 530
|
Farsi
Forum: Other
Last Post: acc.gangbeni
2025-06-25, 08:21 AM
» Replies: 2
» Views: 3,050
|
Las Venturas Gang Wars - ...
Forum: Advertisements
Last Post: lvgwgta
2025-06-22, 06:47 PM
» Replies: 0
» Views: 43
|
[Request] Linko Gaming Ro...
Forum: General Discussions
Last Post: JamesC
2025-06-20, 07:34 PM
» Replies: 0
» Views: 58
|
RevolutionX DM/Stunt/Race...
Forum: Advertisements
Last Post: DerekZ905
2025-06-18, 03:12 PM
» Replies: 0
» Views: 81
|
|
|
how to make a casino system? |
Posted by: Boxi - 2021-04-25, 07:12 PM - Forum: Pawn Scripting
- Replies (2)
|
 |
Hello to all forum friends, I have a question, do you know how I can make the casino games that brings the default gta in the story mode? the card game, the swallow coins, roulette, or similar things, is it possible? greetings!
|
|
|
Array index out of bounds |
Posted by: Z3fRaN - 2021-04-25, 02:09 AM - Forum: Pawn Scripting
- Replies (2)
|
 |
trying to create server sided vehicles
Code: enum vInfo
{
vehicletype,
Float:vx,
Float:vy,
Float:vz,
Float:rotation,
vcolor1,
vcolor2,
respawn_delay,
addsiren=0
}
new VehicleInfo[MAX_VEHICLES][vInfo];
stock CreateVehicleEx(modelid, Float:x, Float:y, Float:z, Float:z_rotation, color1, color2, vrespawn_delay, vaddsiren=0)
{
new vehicle;
vehicle = CreateVehicle(vehicletype, Float:x, Float:y, Float:z, Float:rotation, color1, color2, respawn_delay, addsiren);
VehicleInfo[vehicle][vehicletype] = modelid;
VehicleInfo[vehicle][vx] = x; -?Array index out of bounds at variable "vehicleinfo"
VehicleInfo[vehicle][vy] = y; -?Array index out of bounds at variable "vehicleinfo"
VehicleInfo[vehicle][vz] = z;?-?Array index out of bounds at variable "vehicleinfo"
VehicleInfo[vehicle][rotation] = z_rotation; -?Array index out of bounds at variable "vehicleinfo"
VehicleInfo[vehicle][vcolor1] = color1;?-?Array index out of bounds at variable "vehicleinfo"
VehicleInfo[vehicle][vcolor2] = color2;??-?Array index out of bounds at variable "vehicleinfo"
VehicleInfo[vehicle][respawn_delay] = vrespawn_delay; -?Array index out of bounds at variable "vehicleinfo"
VehicleInfo[vehicle][addsiren] = vaddsiren;?-?Array index out of bounds at variable "vehicleinfo"
return 1;
}
|
|
|
4 digit code with leads |
Posted by: McZulian - 2021-04-25, 12:12 AM - Forum: Pawn Scripting
- Replies (1)
|
 |
What i'm trying to say is this:
I'm doing a 4 digit code password and you can try to guess it.
For example: The password is 1563
And i try to guess it and try: 6593
The server tells me what numbers i got right: X5X3
I don't know how to do this comparison that can output which numbers are right
|
|
|
Anti Silent Aimbot (Johnny Project Fix) |
Posted by: Hata - 2021-04-24, 03:14 PM - Forum: Filterscripts
- Replies (2)
|
 |
Hello all of you, i'm new to the burger shot platform and wanted to share a cheat i fixed with you.
Code: public OnPlayerWeaponShot(playerid, weaponid, hittype, hitid, Float:fX, Float:fY, Float:fZ)
{
if (hittype == BULLET_HIT_TYPE_PLAYER)
{
new
Float:fOriginX, Float:fOriginY, Float:fOriginZ,
Float:fHitPosX, Float:fHitPosY, Float:fHitPosZ;
GetPlayerLastShotVectors(playerid, fOriginX, fOriginY, fOriginZ, fHitPosX, fHitPosY, fHitPosZ);
new Float:BulletDistanceForHit = GetPlayerDistanceFromPoint(hitid, fHitPosX, fHitPosY, fHitPosZ);
if (BulletDistanceForHit == 0 && (weaponid > 21 && weaponid != 35 && weaponid != 42 && weaponid < 47))
{
return 0; //It prevents the bullet from reaching the target player.
}
}
}
|
|
|
Message separator issue |
Posted by: unix - 2021-04-24, 02:05 AM - Forum: Pawn Scripting
- No Replies
|
 |
Hello,
I am having an issue with the code below - it only works once for one player which has the ascending player id - for other it will just bug out and send out 2 dots ".." completely not doing the work as previously for the asc. player id.
Code: stock SendMessageToPlayer(playerid, color, text[], len = 124)
{
new
? ? text2[ 256 ],
maxstring = 384;
if(strlen(text) > len)
{
? ? strmid(text2, text, len, maxstring);
? ? strdel(text, len, maxstring);
? ? strins(text, " ..", len, maxstring);
? ? strins(text2, ".. ", 0, maxstring);
? ? SendClientMessage(playerid, color, text);
? ? SendClientMessage(playerid, color, text2);
? ? return 1;
}
else return SendClientMessage(playerid, color, text);
}
|
|
|
|