SA-MP Forums Archive
[Include] [INC] Pawn Simplificator [You will like this] - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Filterscripts (https://sampforum.blast.hk/forumdisplay.php?fid=17)
+---- Forum: Includes (https://sampforum.blast.hk/forumdisplay.php?fid=83)
+---- Thread: [Include] [INC] Pawn Simplificator [You will like this] (/showthread.php?tid=105576)



[INC] Pawn Simplificator [You will like this] - JonyAvati - 30.10.2009

Pawn Simplificator
by Jose Barrios and JonyAvati
_________________________________________________

What's this?
This simplificates the Pawno scripter's life, how? For example, if you want to add a car, instead of put the car's model id, you will put the car's name, so you dont have to go and search the car model id.
IMPORTANT: EVERYTHING IS ON "CAPS" (Big letter)

Characteristics
- You can put the vehicle's name instead of the vehicle's model id to add vehicles
Example : SHAMAL instead of 519

- You can put the vehicle's color name instead of the car color id
CAR_RED
CAR_RED_STRONG
CAR_WHITE
CAR_GREY
CAR_BLACK
CAR_ORANGE
CAR_BLUE
CAR_PINK
CAR_BEIGE
CAR_GREEN
CAR_GREEN_STRONG
CAR_GOLDEN

- You can put the key name instead of the key value
CTRL
CLICK
WHEEL
NUM2 (For the plane's gears, and for Stunt plane's smoke)
C
SPACE
A
W (Or Z)
UP (Arrow)
DOWN (Arrow)
LEFT (Arrow)
RIGHT (Arrow)

- Car component's name instead of id
NITROX2
NITROX5
NITROX10

- Easy functions (Give me more ideas)
FREEZE (Freezes player)
GETNAME (Instead of GetPlayerName)
SCM (Instead of SendClientMessage)
KICK
BAN

- Dialog style names
MSGBOX
INPUT
LIST

- Fighting styles
NORMAL
BOXING
KUNGFU
KNEEHEAD
ELBOW
GRABKICK

- Player states
NORMAL
ONFOOT
DRIVER
PASSENGER
CLASS
SPAWNED
SPECTATING

- Pickups
HEARTH
ARMOR
HOUSEBLUE
HOUSEGREEN
MONEY

- Weathers
STORMY
SANDSTORM
CLOUDY_FOGGY
FOGGY
TOXIC

- Weapons, name instead of id
Example : GRENADES instead of 16

Downloads
Pastebin
Rapidshare
Megaupload
Mediafire
Uploading
2shared
Gigasize
Sendspace

EDIT:
Solidfiles

How to install?
Add
pawn Code:
#include <pawnsimp>
To your script.

Good luck!
PS : 03h33 in my country


Re: [INC] Pawn Simplificator [You will like this] - jasonstevens - 30.10.2009

Very Very Nice, although, I think i'll just stick with the original functions. Maybe useful in the future though.


Re: [INC] Pawn Simplificator [You will like this] - JonyAvati - 30.10.2009

Quote:
Originally Posted by jasonstevens
Very Very Nice, although, I think i'll just stick with the original functions. Maybe useful in the future though.
You mean "still"?


Re: [INC] Pawn Simplificator [You will like this] - Pawno_Master - 30.10.2009

Did you just defined everything?
so
#define freeze SetPlayerControllable(playerid,false);
#define shamal 519
#define SCM SendClientMessage

?


Re: [INC] Pawn Simplificator [You will like this] - SpiderPork - 30.10.2009

Quote:
Originally Posted by ekeleke
Did you just defined everything?
so
#define freeze SetPlayerControllable(playerid,false);
#define shamal 519
#define SCM SendClientMessage

?
Why don't you look through the code?


Re: [INC] Pawn Simplificator [You will like this] - Retardedwolf - 30.10.2009

He looked through and only found defines that is why was asking.


Re: [INC] Pawn Simplificator [You will like this] - Pawno_Master - 30.10.2009

I thinkl the only hard part of this was finding all vehicle and weap id;s but ok it is n1


Re: [INC] Pawn Simplificator [You will like this] - JonyAvati - 30.10.2009

Quote:
Originally Posted by Y_Leѕѕ
Quote:
Originally Posted by JonyAvati
- You can put the key name instead of the key value
CTRL
CLICK
WHEEL
NUM2 (For the plane's gears, and for Stunt plane's smoke)
C
SPACE
A
W (Or Z)
UP (Arrow)
DOWN (Arrow)
LEFT (Arrow)
RIGHT (Arrow)
No you can't, the whole reason that you use function names, not key names, is because people can CHANGE the keys - it's in the game settings, those are just the defaults and tell you nothing.
Yes I know they can change them, but, I dont think that there are more people that use the default settings than modified settings.


Re: [INC] Pawn Simplificator [You will like this] - SamSam - 30.10.2009

Nice and that!


Re: [INC] Pawn Simplificator [You will like this] - JonyAvati - 30.10.2009

Quote:
Originally Posted by SamSam
Nice and that!
Thank you