[Include] [INC] Pawn Simplificator [You will like this]
#1

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
Reply
#2

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

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"?
Reply
#4

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

?
Reply
#5

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?
Reply
#6

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

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

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.
Reply
#9

Nice and that!
Reply
#10

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


Forum Jump:


Users browsing this thread: 1 Guest(s)