SA-MP Forums

Go Back   SA-MP Forums > Search Forums

Showing results 1 to 25 of 500
Search took 0.02 seconds.
Search: Posts Made By: beckzy
Forum: Gamemode Scripts 24/05/2020, 01:50 PM
Replies: 129
Views: 32,897
Posted By beckzy
Re: eLg Clan's Freeroam/Roleplay

24/05/2020 - The script now uses IllidanS4's version of YSF:

- frename replaces DINI_frenametextfile
- SetVehicleDead is used on vehicles in OnVehicleDeath to fix the spawn at Blueberry bug
-...
Forum: Gamemode Scripts 17/05/2020, 01:56 PM
Replies: 129
Views: 32,897
Posted By beckzy
Re: eLg Clan's Freeroam/Roleplay

What server version do you have Kursed? 0.3.7 R2 is required.
Forum: Scripting Help 16/05/2020, 05:49 PM
Replies: 3
Views: 76
Posted By beckzy
Re: GameTextForPlayer not showing

new strz[20];


Size needs to be bigger. Try:


new strz[64];
Forum: Scripting Help 16/05/2020, 05:35 PM
Replies: 3
Views: 108
Posted By beckzy
Re: How to disable casino and slot.

Using RemoveBuildingForPlayer to remove the original objects disables the game scripts. Then you can re-create them with CreateObject so the casinos don't look empty.

Edit - Copied and pasted the...
Forum: Gamemode Scripts 16/05/2020, 02:34 PM
Replies: 129
Views: 32,897
Posted By beckzy
Re: eLg Clan's Freeroam/Roleplay

You haven't compiled the buildings.pwn filterscript and loaded it. All filterscripts included in the package complement the gamemode in one way or another and should be loaded.
Forum: Scripting Help 16/05/2020, 10:19 AM
Replies: 5
Views: 125
Posted By beckzy
Re: Driveby

It won't work because the player has already left the vehicle so GetPlayerVehicleID will return 0. Try the same method but in OnPlayerExitVehicle.
Forum: Filterscripts 13/05/2020, 10:27 AM
Replies: 11
[FilterScript] beckzy's mod shops
Views: 1,912
Posted By beckzy
Re: beckzy's mod shops

The differences are listed in the first post. I think that front/rear bumpers and front/rear bullbars can be applied together by default but they share component slot IDs. They use separate slots in...
Forum: Gamemode Scripts 11/05/2020, 06:32 PM
Replies: 129
Views: 32,897
Posted By beckzy
Re: eLg Clan's Freeroam/Roleplay

1) You must compile the gamemode and filterscripts
2) gamemode0 should be bb_freeroam
3) Add the filterscripts and plugins lines to server.cfg too

Edit - 14/05/2020:

- /hc now uses your...
Forum: Server Advertisements 09/05/2020, 11:44 AM
Replies: 0
Views: 127
Posted By beckzy
eLg Clan's FR/RP Official Server

http://www.game-state.com/87.98.132.123:7777/n-560x95_FFFFFF_FFFFFF_000000_000000.png (http://www.game-state.com/87.98.132.123:7777)

eLg Clan's FR/RP Official Server | 0.3.7 | 87.98.132.123:7777...
Forum: Scripting Help 08/05/2020, 06:49 PM
Replies: 1
Views: 43
Posted By beckzy
Re: argument type mismatch (argument 1)

Something else I noticed straight away:


DestroyVehicle(JobVehicle[playerid]);
DestroyVehicle(GetVehicleTrailer(JobVehicle[playerid]));


Should be:
...
Forum: Scripting Help 08/05/2020, 09:58 AM
Replies: 5
Views: 117
Posted By beckzy
Re: AttachTrailerToVehicle

Try attaching it in OnVehicleStreamIn instead:


public OnVehicleStreamIn(vehicleid, forplayerid)
{
new pvid = GetPlayerVehicleID(forplayerid);
if (pvid != 0 && Trailer[forplayerid] ==...
Forum: Scripting Help 07/05/2020, 09:37 PM
Replies: 5
Views: 117
Posted By beckzy
Re: AttachTrailerToVehicle

If the final instance (case 4) you are trying to attach the trailer before creating it?
Forum: Scripting Help 06/05/2020, 06:58 PM
Replies: 2
Views: 106
Posted By beckzy
Re: Pickups.

Somewhere:

new healthpickups[4];


In OnGameModeInit (change the x, y, z):

healthpickups[0] = CreatePickup(1240, 1, x, y, z);
healthpickups[1] = CreatePickup(1240, 1, x, y, z);...
Forum: Scripting Help 06/05/2020, 02:45 PM
Replies: 4
Views: 706
Posted By beckzy
Re: Check if Textdraw is destroyed

https://github.com/IllidanS4/YSF
Forum: Scripting Help 04/05/2020, 08:30 PM
Replies: 11
Views: 201
Posted By beckzy
Re: How to decrease values In PlayerInfo

PlayerInfo[playerid][pDrug] --;
Forum: Scripting Help 03/05/2020, 09:28 AM
Replies: 3
Views: 50
Posted By beckzy
Re: Car color

https://wiki.sa-mp.com/wiki/Color_ID


new VehicleColoursTableRGBA[256] = {
// The existing colours from San Andreas
0x000000FF, 0xF5F5F5FF, 0x2A77A1FF, 0x840410FF, 0x263739FF, 0x86446EFF,...
Forum: Gamemode Scripts 01/05/2020, 05:26 PM
Replies: 129
Views: 32,897
Posted By beckzy
Re: eLg Clan's Freeroam/Roleplay

01/05/2020:

- Disabled all casino slot machines
- Now that all gambling opportunities are disabled the use of the Return key is allowed in casinos
- Fixed /orginitials not checking that the...
Forum: Scripting Help 28/04/2020, 07:51 PM
Replies: 4
Views: 124
Posted By beckzy
Re: About dialogs.

To show the weather/time dialog

ShowPlayerDialog(playerid, DIALOG_WETI, DIALOG_STYLE_LIST, "Set weather or time", "Weather\nTime", "Select", "Cancel")

In OnDialogResponse

if (dialogid ==...
Forum: Scripting Help 28/04/2020, 04:56 PM
Replies: 4
Views: 147
Posted By beckzy
Re: Pressing button and nothing happens

GetTeam can't be two different values.

Change

if(Player[playerid][GetTeam] == 2 && Player[playerid][GetTeam] == 3)

to

if(Player[playerid][GetTeam] == 2 || Player[playerid][GetTeam] == 3)
Forum: Scripting Help 28/04/2020, 02:51 PM
Replies: 27
Views: 337
Posted By beckzy
Re: expected token: ")", but found ";"

No sorry, but what I mentioned will fix at least one of the errors. Good luck.
Forum: Scripting Help 28/04/2020, 02:22 PM
Replies: 27
Views: 337
Posted By beckzy
Re: expected token: ")", but found ";"

GetConsoleVarAsString("bind", ip, sizeof (ip))


should be


GetConsoleVarAsString("bind", ip, sizeof (ip));


You are missing ' ; ' from the end.
Forum: Filterscripts 27/04/2020, 09:41 AM
Replies: 4
[FilterScript] Shoot in car
Views: 926
Posted By beckzy
Re: Shoot in car

Nice idea but AFAIK when vehicles that have never been occupied since they last respawned are destroyed they don't respawn. I faced this issue with my trucking missions when the trailer becomes...
Forum: Gamemode Scripts 25/04/2020, 06:53 PM
Replies: 129
Views: 32,897
Posted By beckzy
Re: eLg Clan's Freeroam/Roleplay

25/04/2020:

- When text draws are destroyed in the script their respective variables are set to Text:INVALID_TEXT_DRAW instead of Text:-1
- Sound ID 1055 "SOUND_SHOP_BUY_DENIED" is played with...
Forum: Gamemode Scripts 24/04/2020, 10:04 PM
Replies: 129
Views: 32,897
Posted By beckzy
Re: eLg Clan's Freeroam/Roleplay

The link is updated.
Forum: Scripting Help 23/04/2020, 08:58 AM
Replies: 5
Views: 190
Posted By beckzy
Re: How can I get the floatsin floatcos of this?

Type /oskin to go on duty then press the fire key in a police car to deploy a stinger.
Showing results 1 to 25 of 500

 

All times are GMT. The time now is 09:41 PM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.