SA-MP Forums

Go Back   SA-MP Forums > Search Forums

Showing results 1 to 25 of 108
Search took 0.00 seconds.
Search: Posts Made By: ItsRobinson
Forum: Scripting Help 13/06/2020, 06:23 PM
Replies: 21
Views: 544
Posted By ItsRobinson
Re: Problem houses

From what I've seen, house ID 0 always seems to be buggy, just create house ID 0 as a dummy house and put it under the map or something. And start at 1
Forum: Scripting Help 03/06/2020, 12:44 PM
Replies: 9
Views: 248
Posted By ItsRobinson
Re: F6 solution

It needs to look like this


public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{

if(GetPVarInt(playerid, "dialog") != dialogid)
{
return 1;
}
Forum: Scripting Help 03/06/2020, 02:48 AM
Replies: 11
Views: 330
Posted By ItsRobinson
Re: Save/Load Mysql positions

Then you should already have a save/load position setup? You are talking about player position?
Forum: Scripting Help 03/06/2020, 02:40 AM
Replies: 11
Views: 330
Posted By ItsRobinson
Re: Save/Load Mysql positions

https://forum.sa-mp.com/showthread.php?t=485633

Give it ago, if it doesn't work, come back.
Forum: Scripting Help 03/06/2020, 02:32 AM
Replies: 10
Views: 274
Posted By ItsRobinson
Forum: Scripting Help 03/06/2020, 01:59 AM
Replies: 3
Views: 99
Posted By ItsRobinson
Re: [HELP] Is there something wrong?

Try this

forward LoadGarages();
public LoadGarages()
{
new string[64], idx;
new File: file = fopen("GaragesInfo.cfg", io_read);

if (file)
{
Forum: Scripting Help 03/06/2020, 01:38 AM
Replies: 9
Views: 248
Posted By ItsRobinson
Re: F6 solution

You need to escape your ShowPlayerDialog, stop people spoofing the other dialogs.


stock ShowPlayerDialogEx(playerid, dialogid, style, caption[], info[], button1[], button2[]) {...
Forum: Scripting Help 03/06/2020, 01:25 AM
Replies: 3
Views: 99
Posted By ItsRobinson
Re: [HELP] Is there something wrong?

Are you actually calling these functions?
Forum: Scripting Help 03/06/2020, 01:23 AM
Replies: 12
Views: 281
Posted By ItsRobinson
Re: another backtrace

PlayerInfo[id][Duelingto] = -1;
PlayerInfo[id][Maker] = -1;
PlayerInfo[id][Opponent] = -1;
PlayerInfo[playerid][LoseDuels] ++;
PlayerInfo[id][WinDuels] ++;


We...
Forum: Scripting Help 03/06/2020, 01:17 AM
Replies: 9
Views: 248
Posted By ItsRobinson
Re: F6 solution

Show your ShowPlayerDialog call and show your OnDialogResponse code.
Forum: Server Support 15/04/2020, 01:59 PM
Replies: 2
Views: 329
Posted By ItsRobinson
Re: trying to setup server on aws but this problem

Have you given your instance an elastic IP address and opened 7777 as a custom TCP inbound service with the IP for anywhere?
Forum: Scripting Help 10/04/2020, 03:46 AM
Replies: 3
Views: 179
Posted By ItsRobinson
Re: Help reading from text file

Try changing your While to >= 0
Forum: Scripting Help 01/04/2020, 11:05 AM
Replies: 2
Views: 156
Posted By ItsRobinson
Re: Problem with give money command

An array holds multiple values.
So you get your value by using the array key(index) like so:
valueinput[index]

You need to loop through the array something like this:

new failCode;
...
Forum: Scripting Help 18/02/2019, 06:40 PM
Replies: 3
Views: 212
Posted By ItsRobinson
Re: Rent

Using SetTimerEx (https://wiki.sa-mp.com/wiki/SetTimerEx).


//Under the playing being told he's paying $50
//You'll be needing a public variable for each player. i.e. new...
Forum: Scripting Help 16/02/2019, 04:04 PM
Replies: 4
Views: 255
Posted By ItsRobinson
Re: Textdraw to dialog

forward Tutorial1(playerid);
public Tutorial1(playerid)
{
ClearChatbox(playerid, 100);
SetPlayerVirtualWorld(playerid, 0);
SetPlayerInterior(playerid,0);
InterpolateCameraPos(playerid,...
Forum: Scripting Help 16/02/2019, 04:00 PM
Replies: 4
Views: 259
Posted By ItsRobinson
Re: Multipage Textdraw?

I'm gonna suggest mSelection (https://forum.sa-mp.com/showthread.php?t=407045) to make your life easier :D
Forum: Scripting Help 15/02/2019, 09:29 PM
Replies: 4
Views: 1,343
Posted By ItsRobinson
Re: Could someone explain me how to make a dynamic dutymenu like on highrise roleplay and next generation roleplay.

#define MainDutyLocker 1 //Examples, if you have dialogs in your script already, change the numbers
#define DutyLockerEquipment 2 //Examples, if you have dialogs in your script already, change the...
Forum: Scripting Help 15/02/2019, 09:10 PM
Replies: 5
Views: 235
Posted By ItsRobinson
Re: dialog problems

ShowDialog(playerid, DIALOG_TUTO, DIALOG_STYLE_MSGBOX, "{0092FF}|____ Fin ____|", "{0092FF} Felicidades! {FFFFFF} por llegar hasta el final. Si necesita más ayuda, use {0092FF} /n {FFFFFF} para hacer...
Forum: Scripting Help 15/02/2019, 08:41 PM
Replies: 4
Views: 259
Posted By ItsRobinson
Re: Multipage Textdraw?

If you're doing a next page and back page it's simple.

Hide the textdraws for the page you're on using PlayerTextDrawHide (https://wiki.sa-mp.com/wiki/PlayerTextDrawHide). Then simply show the...
Forum: Scripting Help 15/02/2019, 08:20 PM
Replies: 1
Views: 163
Posted By ItsRobinson
Re: Create Temp Action System

I can give you the theory behind it but I can't script it for you, because you've given nothing to work with...

When setting the VIP you need to store the time to a variable for the player (if...
Forum: Scripting Help 25/12/2018, 11:43 AM
Replies: 8
Views: 417
Posted By ItsRobinson
Re: How can i make a cmd with optional options?

new giveplayerid, float:health;
if(sscanf(params, "uF", giveplayerid, health))
{
SetPlayerHealth(giveplayerid, health);
}


Using sscanf you format the input, your first exception is your...
Forum: Scripting Help 19/12/2018, 08:22 PM
Replies: 5
Views: 267
Posted By ItsRobinson
Re: How to send an email?

https://forum.sa-mp.com/showthread.php?t=351065

Have a search around the forums first, before asking your questions.

You'll find many people asking how to send emails along with many answers...
Forum: Scripting Help 19/12/2018, 08:20 PM
Replies: 2
Views: 437
Posted By ItsRobinson
Re: InterpolateCameraPos

InterpolateCameraPos (https://wiki.sa-mp.com/wiki/InterpolateCameraPos) doesn't seem to be the function you want from what you're saying. InterpolateCameraPos moves the camera from one set of...
Forum: Scripting Help 11/12/2018, 06:37 PM
Replies: 13
Views: 512
Posted By ItsRobinson
Re: Vehicles Gang

You'd need to get the vehicle that they have tried to enter's ID, then check to see which team id that vehicle belongs to and then either, make a global array with 1 = "Grove", 2 = "Ballas", etc......
Forum: Scripting Help 10/12/2018, 07:36 PM
Replies: 2
Views: 186
Posted By ItsRobinson
Re: [Doubt] Loop's

Yeah, in theory, if you printed everything inside of Value array, it should print 0 up until 31 (count starts at 0) then more 0's until 56 (count starts at 0) where it would write another 1.

If...
Showing results 1 to 25 of 108

 

All times are GMT. The time now is 04:40 PM.


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