SA-MP Forums

Go Back   SA-MP Forums > Search Forums

Showing results 1 to 25 of 286
Search took 0.01 seconds.
Search: Posts Made By: ledzep
Forum: Help Archive 22/06/2010, 04:49 AM
Replies: 9
Views: 1,053
Posted By ledzep
Forum: Help Archive 21/06/2010, 09:48 AM
Replies: 9
Views: 1,053
Posted By ledzep
Re: String Definitions

Well I wasn't expecting that code to work lol :P

But yeah, I was just trying to get my idea across. I think it is a great idea too, but I think we may need some big shot like ****** for this one.
Forum: Help Archive 21/06/2010, 09:26 AM
Replies: 9
Views: 1,053
Posted By ledzep
String Definitions

I want to keep my script easily customizable, so localization is a smart thing to add imo. Just wondering if it is possible to have a string definition that can have placeholders in it?


#define...
Forum: Help Archive 21/06/2010, 08:43 AM
Replies: 22
Views: 1,589
Posted By ledzep
Re: Scripting

I learned just from taking FeaR's Godfather script and trying to make it more realistic/better.

Started off by adding cars for a faction, then gates, and open/close commands for them, just got...
Forum: Help Archive 21/06/2010, 07:50 AM
Replies: 11
Views: 1,630
Posted By ledzep
Re: Symbol is assigned..

Well that's the first time I've seen an enum about shoes. Very interesting.
Forum: Help Archive 21/06/2010, 07:48 AM
Replies: 12
Views: 2,275
Posted By ledzep
Re: Adding cars for factions

factionCar1 = AddStaticVehicleEx(451,1246.77,-803.84.14,15.8735,268.4506,114,114,30000); // turismo
Forum: Help Archive 21/06/2010, 07:40 AM
Replies: 3
Views: 811
Posted By ledzep
Re: To get dcmd?

dcmd is a defined function. So it is only 1 neat little line


#define dcmd(%1,%2,%3) if (!strcmp((%3)[1], #%1, true, (%2)) && ((((%3)[(%2) + 1] == '\0') && (dcmd_%1(playerid, ""))) || (((%3)[(%2)...
Forum: Help Archive 21/06/2010, 07:39 AM
Replies: 12
Views: 2,275
Posted By ledzep
Re: Adding cars for factions

Somewhere near the top of your script add:


new factionCar1;


Your brackets didn't match up:


public IsAGangCar2(carid)
Forum: Help Archive 21/06/2010, 07:14 AM
Replies: 7
Views: 1,405
Posted By ledzep
Re: /kick [playerid] [reason]

sscanf makes it really easy to make optional strings.

Worth a read: http://wiki.sa-mp.com/wiki/Fast_Commands
Forum: Help Archive 21/06/2010, 07:07 AM
Replies: 3
Views: 1,096
Posted By ledzep
Re: Help with list

Not sure exactly what ShowPlayerInformation does, but try this:
You may need to increase the size of your string var to something like 512 or 1024 just to be safe.


if(cmdcount < 2)
{...
Forum: Help Archive 21/06/2010, 06:15 AM
Replies: 12
Views: 2,275
Posted By ledzep
Re: Adding cars for factions

I'm just trying to keep the code looking uniform.

I agree. I myself would use CreateVehicle just because I like the option of being able to destroy any car I want.
Forum: Help Archive 21/06/2010, 06:10 AM
Replies: 6
Views: 836
Posted By ledzep
Re: Make A Spido

There are tons of filterscripts of speedos with fancy textdraws and such. If you need a speedo and don't know how to script, use one of them. If you get curious as to how such a script works, open it...
Forum: Help Archive 21/06/2010, 06:08 AM
Replies: 12
Views: 2,275
Posted By ledzep
Re: Adding cars for factions

After a quick look through the script, it looks very much like your run of the mill GF edit, so adding faction cars will not be very simple for a beginner.

Since I guess you do not want to count...
Forum: Help Archive 21/06/2010, 05:49 AM
Replies: 5
Views: 2,240
Posted By ledzep
Re: Server restart

http://wiki.sa-mp.com/wiki/Server.cfg
Forum: Help Archive 21/06/2010, 05:47 AM
Replies: 22
Views: 2,596
Posted By ledzep
Re: bus mission start and checkpoint help

Try this:


public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
{
if(!ispassenger){
if(vehicleid == bus3 || vehicleid == bus2 || vehicleid == bus1)
{
...
Forum: Filterscripts 19/06/2010, 08:21 AM
Replies: 101
Views: 46,129
Posted By ledzep
Re: Filter Scripts and Includes Summary

Data Storage Includes like Dini/DJSON/etc... should be in this list
Forum: Help Archive 19/06/2010, 08:03 AM
Replies: 22
Views: 1,737
Posted By ledzep
Re: dcmd

You need utils.inc

or just


ReturnUser(text[], playerid = INVALID_PLAYER_ID)
{
new pos = 0;
while (text[pos] < 0x21) // Strip out leading spaces
{
Forum: Help Archive 19/06/2010, 07:29 AM
Replies: 3
Views: 960
Posted By ledzep
Re: i need help!

Most likely.

X = 1327.853515
Y = -1558.006958
Z = 13.54689
Forum: General 19/06/2010, 07:10 AM
Replies: 64
Views: 12,481
Posted By ledzep
Forum: Everything and Nothing 19/06/2010, 07:07 AM
Replies: 119
Views: 13,424
Posted By ledzep
Re: Grand Theft Auto: Vice City 2

Driving in the sun listening to shitty 80's music is a wonderful thing.
Vice City and Scarface were great games. Need more.
Forum: General 19/06/2010, 07:05 AM
Replies: 64
Views: 12,481
Posted By ledzep
Re: [HOW TO] Reduce SA-MP Startup Time

Quick ****** search led me to:
http://www.intel.com/support/graphics/sb/cs-004692.htm

Tell me if it works for you.
Forum: Help Archive 19/06/2010, 07:01 AM
Replies: 12
Views: 1,247
Posted By ledzep
Re: Gates

A good read:
http://wiki.sa-mp.com/wiki/OnPlayerKeyStateChange

List of key values:
http://wiki.sa-mp.com/wiki/GetPlayerKeys
Forum: Help Archive 19/06/2010, 06:57 AM
Replies: 27
Views: 3,785
Posted By ledzep
Re: Gettime

Use Baked-Banana's code and make sure you reset all your mining variables when a player logs. That is probably what your problem is.
Forum: Help Archive 19/06/2010, 06:52 AM
Replies: 8
Views: 2,000
Posted By ledzep
Re: Can you teleport (SetPlayerPos) an NPC?

Not lucky

He asked if an NPC that plays back a recording will continue to act relative to a location it is moved to, or 'teleport' back to the exact spot where that actions were recorded and carry...
Forum: Help Archive 19/06/2010, 06:44 AM
Replies: 22
Views: 1,737
Posted By ledzep
Re: dcmd

Uh, can you help with your thread I replied too in General section ? Thanks
[/quote]

Replied
Showing results 1 to 25 of 286

 

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


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