05.03.2012, 12:39
Bug:
GivePlayerWeapon(playerid, ...);
I've a command /gun [weapon_id] [ammo] and skills of weapons to one hand. One pistol, sawn-0ff etc. After i wrote /gun 22 100 (Pistol and 100 ammo) ammuntion to magazine has set to 34.. not 17.
Screens:
Before spawn gun with ammo:
/imageshack/img828/9...ungoodammo.jpg
After spawn pistol with 9 ammo (9 ammo had add to Spare):
/imageshack/img692/9...zineonegun.jpg
Suggestions:
SetPlayerSkillLevel(playerid, skill_id, skill_value);
Maybe it's time to make new skills id? Muscles, stamina, respect, sex appeal, driving, flying, swimming, boat and other? maybe this can help:
B-Dup skin:
Here you go.. B-Dup skin - http://tiny.pl/h1jvb - i've taken it from SA files (cutscenes.img)
Game pause menu:
It would be awesome if it's possible to bring back pause menu with not pausing option. And make this black background more transparent..
Keys:
I know you getted keys defined by SA.. but.. maybe some way? it would be really usefull..
SetPlayerSpecialAction:
If it's possible for you.. to bring back SPECIAL_ACTION_USECELLPHONE and SPECIAL_ACTION_STOPUSECELLPHONE, because player can script it by animation. Check this, i've written this last year:
The last animation has been not used in SPECIAL_ACTION_USECELLPHONE. Why I'm about to receive it? because player can script it and save more ATTACHED OBJECTS SLOTS. I know it was increased but i would be better to save it everytime when we can.
OnPlayerGiveDamage:
Amazing would be boneid parameter to check Head shot and other to make damages by script, to make it better for servers (RP?)
TAB Score list:
Maybe it's time to let us script this table? Holding type, change names and other?
OnPlayerMoneyChange(playerid, newmoney, oldmoney, reason);
A reason for money change. It's really usefull for server-side money scripts to check when the money has been changed.
Reasons (for example): - Ammu-Nation weapon buyed, pizza eaten, sprunk machine and other. I think it's really usefull.
Other:
- More sounds extensions.
- Option to change volume of the music in the game (not pause menu)
- Use client-side music option. Not from the game radio. (I hope you know what i mean. Or include Audio Plugin
)
- TogglePlayerHud(playerid, hudid, bool:toggle); - 0: Money | 1: Health | 2: Armor | 3: Money | 4: Radar | 5: Weapon Icon.
- SpawnPlayer(playerid); - fix bug when the player is in the vehicle (is that has been fixed?)
- SetVehicleGhostMode(vehicleid, bool:toggle);
- SetPlayerGhostMode(playerid, bool:toggle);
Post your suggestions here, guys!
Suggestions from users:
- UsePlayerPedAnims(playerid, bool:toggle);
GivePlayerWeapon(playerid, ...);
I've a command /gun [weapon_id] [ammo] and skills of weapons to one hand. One pistol, sawn-0ff etc. After i wrote /gun 22 100 (Pistol and 100 ammo) ammuntion to magazine has set to 34.. not 17.
Screens:
Before spawn gun with ammo:
/imageshack/img828/9...ungoodammo.jpg
After spawn pistol with 9 ammo (9 ammo had add to Spare):
/imageshack/img692/9...zineonegun.jpg
Suggestions:
SetPlayerSkillLevel(playerid, skill_id, skill_value);
Maybe it's time to make new skills id? Muscles, stamina, respect, sex appeal, driving, flying, swimming, boat and other? maybe this can help:
Code:
####################################### # ar_stats.dat # # stores the stats reaction variables # ####################################### # note - numbers on left hand must align up! # any new stats needed see DerekP, otherwise # feel free to adjust values! ####################################################################### # IMPORTANT: If you add/remove anything from this LIST make sure # you update enum in STATS.H accordingly! ####################################################################### # # amount stats get incremented # 0 STAT_INC_CYCLE_STAMINA 50 1 STAT_INC_SWIM_STAMINA 50 2 STAT_INC_SPRINT_STAMINA 10 3 STAT_INC_RUNNING 5 4 STAT_INC_DRIVING_SKILL 20 5 STAT_INC_FLYING_SKILL 50 6 STAT_INC_CYCLE_SKILL 50 7 STAT_INC_MOTORBIKE_SKILL 25 8 STAT_INC_BOAT_SKILL 50 9 STAT_INC_BODY_MUSCLE 10 10 STAT_INC_BREATH_UNDERWATER 50 11 STAT_INC_MAX_HEALTH 20 # for weapon skill this is how much the stat (float) gets # incremented Per Shot Fired because we don't want to miss any # 12 STAT_INC_PISTOL_SKILL 0.8 13 STAT_INC_PISTOL_SILENCED_SKILL 5.0 14 STAT_INC_DESERT_EAGLE_SKILL 3.0 # NOTE for shotguns it is incremented per pellet (hence the low multiplier) 15 STAT_INC_SHOTGUN_SKILL 0.6 16 STAT_INC_SAWNOFF_SHOTGUN_SKILL 0.45 17 STAT_INC_SPAS12_SHOTGUN_SKILL 0.6 18 STAT_INC_MICRO_UZI_SKILL 0.4 19 STAT_INC_MP5_SKILL 1.5 20 STAT_INC_AK47_SKILL 3.0 21 STAT_INC_M4_SKILL 2.0 22 STAT_INC_SNIPERRIFLE_SKILL 10.0 # # amount stats get decremented # 23 STAT_DEC_FAT 15 24 STAT_DEC_BODY_MUSCLE 15 25 STAT_DEC_MAX_HEALTH 10 # # exercise rate of activities # 10 = standard rate (1sec count for 1sec time) 26 STAT_EXERCISE_RATE_CYCLE 5 27 STAT_EXERCISE_RATE_CYCLE_SPRINT 15 28 STAT_EXERCISE_RATE_SWIM 10 29 STAT_EXERCISE_RATE_SWIM_SPRINT 15 30 STAT_EXERCISE_RATE_SPRINT 10 31 STAT_EXERCISE_RATE_RUN 5 32 STAT_EXERCISE_RATE_FIGHT 5 # # the stats below are time limits (in SECONDS) for # when other stats get adjusted # 33 STAT_TIMELIMIT_CYCLE_STAMINA 300 34 STAT_TIMELIMIT_SWIM_STAMINA 180 35 STAT_TIMELIMIT_SPRINT_STAMINA 300 36 STAT_TIMELIMIT_RUNNING 300 37 STAT_TIMELIMIT_DRIVING_SKILL 300 38 STAT_TIMELIMIT_FLYING_SKILL 300 39 STAT_TIMELIMIT_CYCLE_SKILL 120 40 STAT_TIMELIMIT_MOTORBIKE_SKILL 180 41 STAT_TIMELIMIT_BOAT_SKILL 300 42 STAT_TIMELIMIT_FAT_ADJUST 150 43 STAT_TIMELIMIT_FAT_ADJUST_STRENUOUS 150 44 STAT_TIMELIMIT_BREATH_UNDERWATER 60 45 STAT_TIMELIMIT_MAX_HEALTH 600 # # for weapon skill this denotes how many accurate shots must be fired # with the same weapon, before your stat gauge increases and you get a stat-up message # the stat itself increases with every shot because you sometimes have limited ammo or change # weapons frequently and we don't want to rob the player of their stats # 46 STAT_TIMELIMIT_PISTOL_SKILL 50 47 STAT_TIMELIMIT_PISTOL_SILENCED_SKILL 20 48 STAT_TIMELIMIT_DESERT_EAGLE_SKILL 50 # NOTE for shotguns it is incremented per pellet (hence the high number of hits) 49 STAT_TIMELIMIT_SHOTGUN_SKILL 100 50 STAT_TIMELIMIT_SAWNOFF_SHOTGUN_SKILL 100 51 STAT_TIMELIMIT_SPAS12_SHOTGUN_SKILL 100 52 STAT_TIMELIMIT_MICRO_UZI_SKILL 100 53 STAT_TIMELIMIT_MP5_SKILL 50 54 STAT_TIMELIMIT_AK47_SKILL 50 55 STAT_TIMELIMIT_M4_SKILL 50 56 STAT_TIMELIMIT_SNIPERRIFLE_SKILL 20 # when you die we want to decrease player's max health 57 STAT_TIMELIMIT_DEATH_HEALTH 5 58 STAT_TIMELIMIT_ADD_TO_HEALTH 1000 # -eof-
Here you go.. B-Dup skin - http://tiny.pl/h1jvb - i've taken it from SA files (cutscenes.img)
Game pause menu:
It would be awesome if it's possible to bring back pause menu with not pausing option. And make this black background more transparent..
Keys:
I know you getted keys defined by SA.. but.. maybe some way? it would be really usefull..
SetPlayerSpecialAction:
If it's possible for you.. to bring back SPECIAL_ACTION_USECELLPHONE and SPECIAL_ACTION_STOPUSECELLPHONE, because player can script it by animation. Check this, i've written this last year:
pawn Code:
if(strcmp("/use_cell_phone", cmd, true) == 0)
{
ApplyAnimation(playerid, "PED", "phone_in", 4.1, 0, 1, 1, 1, 1, 1);
return true;
}
if(strcmp("/stopuse_cell_phone", cmd, true) == 0)
{
ApplyAnimation(playerid, "PED", "phone_out", 4.1, 0, 1, 1, 0, 0, 1);
return true;
}
if(strcmp("/talk_to_cellphone", cmd, true) == 0)
{
ApplyAnimation(playerid, "PED", "phone_talk", 4.1, 0, 1, 1, 0, 0, 1);
return true;
}
OnPlayerGiveDamage:
Amazing would be boneid parameter to check Head shot and other to make damages by script, to make it better for servers (RP?)
TAB Score list:
Maybe it's time to let us script this table? Holding type, change names and other?
OnPlayerMoneyChange(playerid, newmoney, oldmoney, reason);
A reason for money change. It's really usefull for server-side money scripts to check when the money has been changed.
Reasons (for example): - Ammu-Nation weapon buyed, pizza eaten, sprunk machine and other. I think it's really usefull.
Other:
- More sounds extensions.
- Option to change volume of the music in the game (not pause menu)
- Use client-side music option. Not from the game radio. (I hope you know what i mean. Or include Audio Plugin
)- TogglePlayerHud(playerid, hudid, bool:toggle); - 0: Money | 1: Health | 2: Armor | 3: Money | 4: Radar | 5: Weapon Icon.
- SpawnPlayer(playerid); - fix bug when the player is in the vehicle (is that has been fixed?)
- SetVehicleGhostMode(vehicleid, bool:toggle);
- SetPlayerGhostMode(playerid, bool:toggle);
Post your suggestions here, guys!
Suggestions from users:
- UsePlayerPedAnims(playerid, bool:toggle);
