SA-MP Forums

Go Back   SA-MP Forums > Search Forums

Showing results 1 to 25 of 136
Search took 0.01 seconds.
Search: Posts Made By: [EnErGyS]KING
Forum: Scripting Help 17/02/2014, 05:09 PM
Replies: 2
Views: 431
Posted By [EnErGyS]KING
Re: Sscanf question

I suggest, health and Armour also and weapon to do like:

case 1:
{
new Float:health; GetPlayerHealth(membername,health);...
Forum: Scripting Help 17/02/2014, 04:51 PM
Replies: 6
Views: 331
Posted By [EnErGyS]KING
Re: HElp Pls I Need Thiis

http://forum.sa-mp.com/showthread.php?t=327953
And house
http://forum.sa-mp.com/showthread.php?t=301655
Forum: Scripting Help 17/02/2014, 04:48 PM
Replies: 15
Views: 7,176
Posted By [EnErGyS]KING
Re: Objects

This is how you create Object
CreateDynamicObject(modelid, Float:x, Float:y, Float:z, Float:rx, Float:ry, Float:rz, worldid = -1, interiorid = -1, playerid = -1, Float:streamdistance = 200.0,...
Forum: Scripting Help 17/02/2014, 04:41 PM
Replies: 14
Views: 677
Posted By [EnErGyS]KING
Re: Commands are not working

Can you show "OnPlayerCommandText",
By the way "Wikia" says
Forum: Scripting Help 17/02/2014, 10:35 AM
Replies: 19
Views: 1,172
Posted By [EnErGyS]KING
Re: How to fix the SPAM?

http://wiki.sa-mp.com/wiki/SetTimer Duh...
http://wiki.sa-mp.com/wiki/SetTimerEx Duh...
Forum: Scripting Help 12/02/2014, 08:18 PM
Replies: 11
Views: 936
Posted By [EnErGyS]KING
Re: Help Tag MisMatch

Maybe this will help ?

for(new v = 0; v < MAX_PLAYERS; v++)
{
new string[128];
format( string, sizeof( string ), "pt%dModelID", v);
dini_Int(string,...
Forum: Scripting Help 11/02/2014, 07:02 PM
Replies: 4
Views: 391
Posted By [EnErGyS]KING
Re: error 001: expected token: ";", but found "]"

Can you show all code(from that function)
Forum: Scripting Help 11/02/2014, 04:29 PM
Replies: 22
Views: 2,921
Posted By [EnErGyS]KING
Re: Interpolate camera doesn't work . [Help]

http://wiki.sa-mp.com/wiki/InterpolateCameraPos
http://wiki.sa-mp.com/wiki/InterpolateCameraLookAt ;)
Forum: Scripting Help 11/02/2014, 03:35 PM
Replies: 7
Views: 747
Posted By [EnErGyS]KING
Re: Player Crash on Register

So does player crash on register ?
Forum: Scripting Help 11/02/2014, 02:16 PM
Replies: 7
Views: 747
Posted By [EnErGyS]KING
Re: Player Crash on Register

TutTxtdraw[39] = TextDrawCreate(175.000000, 204.000000, "If you want to report a emergency, purchase a cellphone at the 24/7 and ~r~/call 911~w~"); Why you need to but ~w~ if there none characters...
Forum: Scripting Help 10/02/2014, 09:17 PM
Replies: 9
Views: 1,599
Posted By [EnErGyS]KING
Re: Realistic weapon damage

Heheh. I got you but CuervO was faster than me ;)
Forum: Scripting Help 10/02/2014, 08:51 PM
Replies: 9
Views: 1,599
Posted By [EnErGyS]KING
Re: Realistic weapon damage

Abagail, Yes you right, Danice or anou1 can use to ADD damage but by "wiki" OnplayerTakeDamage (http://wiki.sa-mp.com/wiki/OnPlayerTakeDamage) and OnPlayerGiveDamage...
Forum: Scripting Help 10/02/2014, 08:47 PM
Replies: 7
Views: 1,083
Posted By [EnErGyS]KING
Re: OnPlayerTakeDamage

You using 0.3x a_samp.inc you need to use 0.3z a_samp.inc, because "BodyPart" was added only in 0.3z ;) Or you just can remove Bodypart ;)
Forum: Scripting Help 10/02/2014, 08:22 PM
Replies: 9
Views: 1,599
Posted By [EnErGyS]KING
Re: Realistic weapon damage

I am wrong here, sorry for incorrect info.
Forum: Scripting Help 10/02/2014, 07:58 PM
Replies: 2
Views: 304
Posted By [EnErGyS]KING
Re: Help error sscanf2

Can you show 227, 240 lines.
P.S. It mean that it's defined in your GM or other include so you need to find that function and delete it.
Forum: Scripting Help 10/02/2014, 07:56 PM
Replies: 13
Views: 925
Posted By [EnErGyS]KING
Re: Give God Take God

Not mine, but this is with explanation so you can learn from it ;)

public OnPlayerCommandText( playerid, cmdtext[ ] )
{
dcmd( goto , 4, cmdtext); // Note that the characters in DCMD exclude...
Forum: Scripting Help 09/02/2014, 06:15 PM
Replies: 13
Views: 925
Posted By [EnErGyS]KING
Re: Give God Take God

Next time, please use SEARCH How to convert strcmp to ZCMD/DCMD or vice versa. (http://forum.sa-mp.com/showthread.php?t=231496)
new godmode[MAX_PLAYERS] = 0; // somewhere in ur script.
public...
Forum: Scripting Help 09/02/2014, 05:44 PM
Replies: 9
Views: 1,011
Posted By [EnErGyS]KING
Re: Server closed the connection - gamemode

Please show "OnPlayerRegister" too...
Forum: Scripting Help 09/02/2014, 05:23 PM
Replies: 9
Views: 640
Posted By [EnErGyS]KING
Re: AllowAdminTeleport problem

Did you do that?: deleted "AllowAdminTeleport(1);" and added(optional) public OnPlayerClickMap(playerid, Float:fX, Float:fY, Float:fZ)
{
if(IsPlayerAdmin(playerid))
{
...
Forum: Scripting Help 09/02/2014, 05:08 PM
Replies: 13
Views: 925
Posted By [EnErGyS]KING
Re: Give God Take God

new godmode[MAX_PLAYERS] = 0; // somewhere in ur script.
CMD:givegod(playerid,params[])
{
if(PlayerInfo[playerid][Level] <= 5 || IsPlayerAdmin(playerid)) {
new target;
...
Forum: Scripting Help 09/02/2014, 05:04 PM
Replies: 9
Views: 640
Posted By [EnErGyS]KING
Re: AllowAdminTeleport problem

Delete AllowAdminTeleport
also, you can even not to add this "OnPlayerClickMap"
Forum: Scripting Help 09/02/2014, 04:57 PM
Replies: 13
Views: 925
Posted By [EnErGyS]KING
Re: Give God Take God

"We", don't know about your "Admin System" ;)
if you want to, this use "Rcons" add "If(IsPlayerAdmin(playerid) (http://wiki.sa-mp.com/wiki/IsPlayerAdmin)) { }"
Forum: Scripting Help 09/02/2014, 04:52 PM
Replies: 13
Views: 925
Posted By [EnErGyS]KING
Re: Give God Take God

Hint: You can save health and armor before "giving" god mode and then set when you remove god you set previous health and armor ;)
Also, you could set timer to refresh health, because you could be...
Forum: Scripting Help 09/02/2014, 04:42 PM
Replies: 9
Views: 640
Posted By [EnErGyS]KING
Re: AllowAdminTeleport problem

Okay you need to create it

public OnPlayerClickMap(playerid, Float:fX, Float:fY, Float:fZ)
{
if(IsPlayerAdmin(playerid))
{
SetPlayerPosFindZ(playerid, fX, fY, fZ);
}
...
Forum: Scripting Help 09/02/2014, 04:33 PM
Replies: 9
Views: 640
Posted By [EnErGyS]KING
Re: AllowAdminTeleport problem

Show AllowAdminTeleport and OnPlayerClickMap(If you have it)
Showing results 1 to 25 of 136

 

All times are GMT. The time now is 10:18 PM.


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