SA-MP Forums

Go Back   SA-MP Forums > Search Forums

Showing results 1 to 25 of 238
Search took 0.01 seconds.
Search: Posts Made By: hopeonxanny
Forum: Includes 12/07/2020, 05:13 PM
Replies: 45
Views: 18,715
Posted By hopeonxanny
Re: MenuStore (Build dynamic stores with TextDraws)

same as here:
https://github.com/Coystark/MenuStore/blob/master/MenuStore.inc
Forum: Includes 12/07/2020, 03:43 PM
Replies: 45
Views: 18,715
Posted By hopeonxanny
Re: MenuStore (Build dynamic stores with TextDraws)

this one worked for me, i was getting these errors when compiling by default:
menu-store.inc(1258) : error 035: argument type mismatch (argument 4)
menu-store.inc(1293) : error 035: argument type...
Forum: Scripting Help 11/07/2020, 06:42 PM
Replies: 3
Views: 173
Posted By hopeonxanny
Re: Interpolate Camera Help

Use cameditor.
Login as RCON with /rcon login <pass>
type /rcon loadfs cameditor
type /cameditor
do your job.
Forum: Scripting Help 11/07/2020, 05:47 PM
Replies: 2
Views: 175
Posted By hopeonxanny
Re: somebody help me boombox sound is strange..(help me just once)

1. Declare global
new Float:BBox[3], boxlink[] = "";

2. Add the code to place the boombox at your location.
-> Get your position: GetPlayerPos(playerid, BBox[0], BBox[1], BBox[2]);
-> Create...
Forum: Scripting Help 11/07/2020, 12:16 PM
Replies: 6
Views: 300
Posted By hopeonxanny
Re: Pool / Snooker Minigame Help

he's testing things only, trying to learn. he didn't take the name as his own
Forum: Scripting Help 11/07/2020, 11:54 AM
Replies: 5
Views: 221
Posted By hopeonxanny
Re: Array inded out of bounds

Float:PassengerLocations2[9][4]
Forum: Scripting Help 11/07/2020, 11:35 AM
Replies: 6
Views: 300
Posted By hopeonxanny
Re: Pool / Snooker Minigame Help

They all work for me, i've tested them.

{31800, !"", !"Pool balls colliding"},
{31801, !"", !"Pool sound"},
{31802, !"", !"Pool ball noise"},
{31803, !"", !"Ball hitting floor noise"},...
Forum: Scripting Help 11/07/2020, 10:43 AM
Replies: 5
Views: 221
Posted By hopeonxanny
Re: Array inded out of bounds

try replacing
Float:PassengerLocations2[][4]
with
Float:PassengerLocations2[][]

try and tell me
Forum: Scripting Help 11/07/2020, 08:27 AM
Replies: 7
Views: 289
Posted By hopeonxanny
Re: Attaching textdraw to player

new Text3D:GodMode[MAX_PLAYERS];
Forum: Scripting Help 11/07/2020, 08:25 AM
Replies: 5
Views: 221
Posted By hopeonxanny
Re: Array inded out of bounds

show new PassengerLocations2... etc
Forum: Scripting Help 08/07/2020, 06:39 PM
Replies: 3
Views: 148
Posted By hopeonxanny
Re: Command doesn't seem to work, wrong checks

solved, did the second thing. thank you.
Forum: Scripting Help 08/07/2020, 01:02 PM
Replies: 3
Views: 148
Posted By hopeonxanny
Command doesn't seem to work, wrong checks

if(PlayerInfo[playerid][pJob] != 11 && !IsPlayerInRangeOfPoint(playerid, 30.0, -2959.0974,485.8969,4.9110) ||
PlayerInfo[playerid][pJob] != 17 && !IsPlayerInRangeOfPoint(playerid,...
Forum: Scripting Help 07/07/2020, 10:00 AM
Replies: 4
Views: 142
Posted By hopeonxanny
Re: Amx backtrace over my powers...

solved, thanks. didn't pay attention enough
Forum: Scripting Help 07/07/2020, 09:34 AM
Replies: 4
Views: 142
Posted By hopeonxanny
Re: Amx backtrace over my powers...

i have uploaded my onplayerdeath here: https://pastebin.com/x9pEKbx7
i do have the checks for invalid killer id.
or have i put them wrong?
Forum: Scripting Help 07/07/2020, 09:03 AM
Replies: 4
Views: 142
Posted By hopeonxanny
Amx backtrace over my powers...

Run time error 4: "Array index out of bounds"
[debug] Attempted to read/write array element at index 65535 in array of size 50
[debug] AMX backtrace:
[debug] #0 003296d8 in GetName...
Forum: Scripting Help 06/07/2020, 04:30 PM
Replies: 4
Views: 167
Posted By hopeonxanny
Re: Amx backtrace on a simple line

i think this will do the trick, gotta check.
Forum: Scripting Help 06/07/2020, 03:21 PM
Replies: 4
Views: 167
Posted By hopeonxanny
Amx backtrace on a simple line

case 2: {
if(gplIsCarrying[playerid] == -1) {
new Float: Pos[3];
for(new i = 0; i < sizeof(missionBombs); i++) {
...
Forum: Scripting Help 04/07/2020, 07:50 AM
Replies: 4
Views: 175
Posted By hopeonxanny
Re: Dance arrows

you can.
https://www.youtube.com/watch?v=pjHZb9Dshmk
Forum: Scripting Help 04/07/2020, 07:09 AM
Replies: 4
Views: 171
Posted By hopeonxanny
Re: Deleting the tag if it is inside the name

i dont have any idea how to use it.
Forum: Scripting Help 03/07/2020, 05:20 PM
Replies: 3
Views: 116
Posted By hopeonxanny
Re: gametextforplayer

public GetClosestPlayer(p1)
{
new Float:dis,Float:dis2,player;
player = -1;
dis = 99999.99;
foreach(Player,x)
{
if(x != p1)
{
dis2 =...
Forum: Scripting Help 03/07/2020, 05:12 PM
Replies: 4
Views: 171
Posted By hopeonxanny
Deleting the tag if it is inside the name

Hi, i want to delete a clan tag from the player's name when it connects, which i have saved in the database.
I mean if my name is name[CLANTAG] or name_CLANTAG or nameCLANTAGname to delete it (using...
Forum: Scripting Help 03/07/2020, 05:07 PM
Replies: 4
Views: 118
Posted By hopeonxanny
Re: Forward issue

and you have to return something at the end too.
Forum: Scripting Help 03/07/2020, 05:03 PM
Replies: 3
Views: 116
Posted By hopeonxanny
Re: gametextforplayer

first of all, you should have arrester and the one that gets arrested.
it should look like this:

CMD:arrest(playerid, params[])
{
new taker;
if(sscanf(params, "u", taker)) return...
Forum: Scripting Help 03/07/2020, 05:00 PM
Replies: 4
Views: 118
Posted By hopeonxanny
Re: Forward issue

forward HideTextdraws(playerid);
public HideTextdraws(playerid)
{
TextDrawHideForPlayer(playerid, PublicTD[84]);
TextDrawHideForPlayer(playerid, PublicTD[85]);
...
Forum: Scripting Help 27/06/2020, 02:27 PM
Replies: 3
Views: 84
Posted By hopeonxanny
Re: Detect new day in server time

You reset it at 00:00 ? thats when a day passes...
Showing results 1 to 25 of 238

 

All times are GMT. The time now is 04:44 AM.


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