SA-MP Forums

Go Back   SA-MP Forums > Search Forums

Showing results 1 to 25 of 134
Search took 0.01 seconds.
Search: Posts Made By: cAMo
Forum: Help Archive 31/05/2010, 09:25 PM
Replies: 5
Views: 3,001
Posted By cAMo
Re: IN-GAME GF HOUSE / BIZ MAKER >> HELP <<

I just developed a business system using dynamic dialogs. Menus are outdated in my opinion
Forum: Help Archive 31/05/2010, 09:22 PM
Replies: 5
Views: 1,019
Posted By cAMo
Re: to pvars

SetPVarInt(playerid, "Money", 1000);

if(GetPVarInt(playerid, "Money") == 1000)
{
// You have $1000!
}
else
{
// You don't have $1000!
}
Forum: Help Archive 31/05/2010, 09:19 PM
Replies: 5
Views: 3,001
Posted By cAMo
Re: IN-GAME GF HOUSE / BIZ MAKER >> HELP <<

Why are you using menus instead of dialogs? Just wondering...
Forum: Help Archive 31/05/2010, 05:49 AM
Replies: 16
Views: 1,014
Posted By cAMo
Re: Help please

public OnPlayerCommandText(playerid, cmdtext[])
{
new string[128];
if(strcmp("/lspds", cmdtext, true) == 0)
{
new lspd_online = 0;
for(new i = 0; i < MAX_PLAYERS; i++)
{...
Forum: Help Archive 31/05/2010, 05:45 AM
Replies: 16
Views: 1,014
Posted By cAMo
Re: Help please

Above goes through each player. Below checks to see if the player has >= 1 LSPDLEVEL



If that's the case, then it adds 1 lspd_online++

The amount it returns is based on the players online...
Forum: Help Archive 31/05/2010, 05:42 AM
Replies: 16
Views: 1,014
Posted By cAMo
Re: Help please

Nope. You would put it under OnPlayerCommandText
Forum: Help Archive 31/05/2010, 05:40 AM
Replies: 16
Views: 1,014
Posted By cAMo
Re: Help please

new lspd_online = 0;
for(new i = 0; i < MAX_PLAYERS; i++)
{
if(PlayerInfo[playerid][LSPDLEVEL] >= 1)
{
lspd_online++;
}
}
format(string, sizeof(string), "There are %d lspd members online...
Forum: Plugin Development 31/05/2010, 05:30 AM
Replies: 5,555
[Plugin] Streamer Plugin
Views: 3,351,818
Posted By cAMo
Re: [REL] Streamer Plugin v2.3.8

OnGameModeInit...
CreateDynamic3DTextLabel("Testing 123", 0x008080FF, 120.0, 60.0, 3.0, 50.0, INVALID_PLAYER_ID, INVALID_VEHICLE_ID, 0, -1, -1, -1, 100.0);

The text isn't visible. Anyone know how...
Forum: Help Archive 26/05/2010, 07:28 PM
Replies: 3
Views: 1,391
Posted By cAMo
Re: How? Make long Dialog Lists

Great, thanks!

Solution = placing string where the menu options are, and defining string with the options on a different line.
Forum: Help Archive 26/05/2010, 07:21 PM
Replies: 3
Views: 1,391
Posted By cAMo
[SOLVED] How? Make long Dialog Lists

ShowPlayerDialog(playerid, 4, DIALOG_STYLE_LIST, "Menu","Items","Select", "Cancel");

Where items is actually about 30 item names.

Getting Errors:
error 075: input line too long (after...
Forum: Help Archive 26/05/2010, 06:38 PM
Replies: 10
Views: 1,542
Posted By cAMo
Limits for Dialogs?

What are the limits, if any, for dialogs?
Forum: Help Archive 25/05/2010, 06:10 PM
Replies: 20
Views: 1,517
Posted By cAMo
Re: Would this ever be possible?

+1 Fail >:D

@ Joe Torran C: No, not possible. You can spec the player that killed you while you are waiting to respawn, but you cannot rewind and see how they killed you.
Forum: Help Archive 25/05/2010, 09:01 AM
Replies: 5
Views: 1,615
Posted By cAMo
Re: Help please,im beginner :)

Lazy = Fail >:D

If you're lazy about indenting, it's very likely that your script lacks quality too.
Forum: Help Archive 25/05/2010, 08:52 AM
Replies: 6
Views: 1,024
Posted By cAMo
Forum: Help Archive 25/05/2010, 08:51 AM
Replies: 5
Views: 1,615
Posted By cAMo
Re: Help please,im beginner :)

Paste the code around that line so we can help.

It basically means that you didn't indent the code where you should have...
Forum: Help Archive 25/05/2010, 08:08 AM
Replies: 6
Views: 1,024
Posted By cAMo
Re: Does anyone know how to [[Drop an Object to the Ground]]?

For example, an object falling from the sky.

If you set it at 100, 100, 10000 (very high)... how could you script it to drop at ground level if you don't know where ground level is for a position?...
Forum: Help Archive 25/05/2010, 07:55 AM
Replies: 6
Views: 1,024
Posted By cAMo
[SOLVED] Does anyone know how to drop an object to the ground?

Does anyone know how to drop an object to the ground at a given X,Y position without knowing the Z?
Forum: Help Archive 23/05/2010, 08:57 PM
Replies: 0
Views: 768
Posted By cAMo
Vehicle Blowing Up

I have CreateVehicle that creates a car. Its respawn time is set to -1 (no respawn).

The car blew up. Each time I leave the area, and return (OnVehicleStreamIn) it catches fire and blows up.

...
Forum: Help Archive 23/05/2010, 08:38 PM
Replies: 1
Views: 1,236
Posted By cAMo
SetPlayerMoney

What include do you need for the SetPlayerMoney function?
Forum: Help Archive 23/05/2010, 07:30 PM
Replies: 5
Views: 1,813
Posted By cAMo
Re: help | money anti cheat...

Where do you get SetPlayerMoney?
Forum: Help Archive 22/05/2010, 07:03 AM
Replies: 24
Views: 2,283
Posted By cAMo
Re: AddVehicleComponent... Player must be in vehicle?

How do you prevent this from happening (placing mods onto vehicles that don't allow them)?

Is there a compatibility list somewhere?
Forum: Help Archive 22/05/2010, 04:18 AM
Replies: 24
Views: 2,283
Posted By cAMo
Re: AddVehicleComponent... Player must be in vehicle?

Thanks. Bay is correct :)

What if you add a component that the vehicle doesn't support... but it is a valid component? Crash or does it just fail to add it?
Forum: Help Archive 22/05/2010, 04:02 AM
Replies: 24
Views: 2,283
Posted By cAMo
AddVehicleComponent... Player must be in vehicle?

Does a player have to be in the vehicle you are AddVehicleComponent to?
Forum: Help Archive 22/05/2010, 03:47 AM
Replies: 15
Views: 3,100
Posted By cAMo
Re: Price of Sprunk and Pay n Spray

Thanks, but I want them disabled. I'm considering player money = 0 to accomplish this unless there is another way...
Forum: Help Archive 22/05/2010, 02:02 AM
Replies: 11
Views: 4,025
Posted By cAMo
Re: GetVehicleDamageStatus value ranges?

Congratulations. Do you want to help me?
Showing results 1 to 25 of 134

 

All times are GMT. The time now is 07:46 AM.


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