Posts: 1,767
Threads: 124
Joined: Mar 2010
30.11.2010, 12:46
(
Последний раз редактировалось Riddick94; 05.12.2010 в 12:00.
)
That's my suggestions for Sa-Mp 0.3c:
- ToggleDialogSpawn(true/false); - in OnGameModeInit to hide dialog spawn all players.
- SetPlayerArmedWeapon(playerid, ...); - Let this use in vehicle because it really help to Drive By by Driver.
- Skills - Motorcycles, bikes, cars, boats, helicopters, planes
(use with: SetPlayerSkillLevel(playerid,WEAPON_SKILL_.../BIKE_SKILL/CAR_SKILL/BOATS_SKILL/HELICOPTER_SKILL/PLANES_SKIL,....)
- Make an longer health bar - (Like skill.. SetPlayerSkillLevel(playerid, HEALTH_BAR, %d)
- Delete all map icons (without north).
- ToggleHeadMovements(true/false); -
(Toggle this in OnGameModeInit on false and any player can't move head; command /headmove will stop working.)
- Keys - what about a keys? maybe a new function what getting pressed key? if(newkeys == 'R'). At the momment these keys what we have at Sa-Mp is really bad.
- Dialog Move - Just moving dialog by cursor.
- Objects: French Key, Taxi Siren on the roof, Silencer for attach to weapons.
Posts: 363
Threads: 15
Joined: Oct 2010
Reputation:
0
The only big thing i want is more key definitions, maybe the most important thing for RP(G) servers.
Posts: 434
Threads: 80
Joined: Oct 2008
Reputation:
0
Hope samp's team will add this
Posts: 138
Threads: 19
Joined: Jul 2009
Reputation:
0
I support the suggestions Riddick'a. I hope that they will be implemented in version 0.3c
Posts: 143
Threads: 41
Joined: Feb 2009
Reputation:
0
30.11.2010, 14:12
(
Последний раз редактировалось godknightx; 30.11.2010 в 17:41.
)
The keys is a very important for the RP servers, i hope they will add this.
And a more important is the OnPlayerShot(playerid, target = -1, weapon, bodypart) - and we can disable the shot damage or etc..
Posts: 1,767
Threads: 124
Joined: Mar 2010
30.11.2010, 14:35
(
Последний раз редактировалось Riddick94; 30.11.2010 в 16:56.
)
Quote:
Originally Posted by godknightx
The keys is a very important for the RP servers, i hope they will add this.
And a more important is the OnPlayerShot(playerid, target = -1, weapon) - and we can disable the shot damage or etc..
|
Scriptable with 'IsPlayerAimingAt'. This is somewhere on forum i'll edit post when find this.
edit://
Код:
stock IsHeadshot(playerid, targetplayerid)
{
new Float:x, Float:y, Float:z;
GetPlayerPos(targetplayerid, x, y, z);
return IsPlayerAimingAt(playerid, x, y, z+0.8, 0.2);
}
//Function IsPlayerAimingAt:
stock IsPlayerAimingAt(playerid, Float:x, Float:y, Float:z, Float:radius)
{
new Float:cx,Float:cy,Float:cz,Float:fx,Float:fy,Float:fz;
GetPlayerCameraPos(playerid, cx, cy, cz);
GetPlayerCameraFrontVector(playerid, fx, fy, fz);
return (radius >= DistanceCameraTargetToLocation(cx, cy, cz, x, y, z, fx, fy, fz));
}
// And Distance Camera to Target.
Float:DistanceCameraTargetToLocation(Float:CamX, Float:CamY, Float:CamZ, Float:ObjX, Float:ObjY, Float:ObjZ, Float:FrX, Float:FrY, Float:FrZ)
{
new Float:TGTDistance;
TGTDistance = floatsqroot((CamX - ObjX) * (CamX - ObjX) + (CamY - ObjY) * (CamY - ObjY) + (CamZ - ObjZ) * (CamZ - ObjZ));
new Float:tmpX, Float:tmpY, Float:tmpZ;
tmpX = FrX * TGTDistance + CamX;
tmpY = FrY * TGTDistance + CamY;
tmpZ = FrZ * TGTDistance + CamZ;
return floatsqroot((tmpX - ObjX) * (tmpX - ObjX) + (tmpY - ObjY) * (tmpY - ObjY) + (tmpZ - ObjZ) * (tmpZ - ObjZ));
}
Not tested - but; yes.. better will be 'OnPlayerShoot(playerid, part_of_body);.
edit:2//
My god i've lost about something but it must be create, a most suggestion:
French Key for Mechanics xD
Posts: 143
Threads: 41
Joined: Feb 2009
Reputation:
0
Its a bugged code, i now use it, but not stable... And the samp already have this function, because the samp save who is the last shoter for a player... So i think its not a hard work
Posts: 2,593
Threads: 38
Joined: Aug 2007
Reputation:
0
The addition of more keys is highly unlikely, this is because the server would then have to receive the information, which will cause a lot more lag.
Something I would really like to see is a client sided .amx file for players to optionally download from a server's website (MUCH like the current setup of the SAMP.img)