Search Results
I suggest, health and Armour also and weapon to do like:
pawn Код:
case 1:Â Â Â Â {Â Â Â Â Â Â new Float:health; GetPlayerHealth(membername,health);Â Â Â Â Â Â SetPlayerHealth(memb...
79
https://sampforum.blast.hk/showthread.php?tid=327953
And house
https://sampforum.blast.hk/showthread.php?tid=301655
83
This is how you create Object
pawn Код:
CreateDynamicObject(modelid, Float:x, Float:y, Float:z, Float:rx, Float:ry, Float:rz, worldid = -1, interiorid = -1, playerid = -1, Float:streamdistance = ...
159
Can you show "OnPlayerCommandText",
By the way "Wikia" says
Quote:
Returning 0 informs the server that the command hasn't been processed by this script.OnPlayerCommandText will be called i...
181
https://sampwiki.blast.hk/wiki/SetTimer Duh...
https://sampwiki.blast.hk/wiki/SetTimerEx Duh...
219
Maybe this will help ?
pawn Код:
for(new v = 0; v < MAX_PLAYERS; v++)Â Â Â Â {Â Â Â Â Â Â new string[128];Â Â Â Â Â Â format( string, sizeof( string ), "pt%dModelID", v);Â Â Â...
152
Can you show all code(from that function)
85
https://sampwiki.blast.hk/wiki/InterpolateCameraPos
https://sampwiki.blast.hk/wiki/InterpolateCameraLookAt
219
So does player crash on register ?
139
pawn Код:
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...
139
Heheh. I got you but CuervO was faster than me
113
Abagail, Yes you right, Danice or anou1 can use to ADD damage but by "wiki" OnplayerTakeDamage and OnPlayerGiveDamage
Quote:
amount The amount of dagmage the player took (health and armour...
113
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
109
I am wrong here, sorry for incorrect info.
113
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.
67
Not mine, but this is with explanation so you can learn from it
pawn Code:
public OnPlayerCommandText( playerid, cmdtext[ ] ){Â Â dcmd( goto , 4, cmdtext); // Note that the characters in DCMD exc...
218
Next time, please use SEARCH How to convert strcmp to ZCMD/DCMD or vice versa.
pawn Code:
new godmode[MAX_PLAYERS] = 0; // somewhere in ur script.public OnPlayerCommandText( playerid, cmdtext[ ] ){Â ...
218
Please show "OnPlayerRegister" too...
188
Did you do that?: deleted "AllowAdminTeleport(1);" and added(optional)
pawn Код:
public OnPlayerClickMap(playerid, Float:fX, Float:fY, Float:fZ){Â Â if(IsPlayerAdmin(playerid))Â Â {Â Â Â Â ...
210
pawn Код:
new godmode[MAX_PLAYERS] = 0; // somewhere in ur script.CMD:givegod(playerid,params[]){Â Â if(PlayerInfo[playerid][Level] <= 5 || IsPlayerAdmin(playerid)) { Â Â new target;Â Â i...
218