Search Results
Quote:
Originally Posted by clarencecuzz
pawn Код:
CMD:heal(playerid, params[]){ new Float:Health, tbhealedhealth, healprice, healtime, string[128]; GetPlayerHealth(playerid,...
190
Quote:
Originally Posted by _Khaled_
Okay
<snip>
If you need definitions, let me know
Thanks! I'll try this now.
Quote:
Originally Posted by IceMeteor
What is HealP...
190
I am making a /heal command and it should be pretty simple but for some reason all of the values are so fucked up.
Here's the code:
pawn Код:
CMD:heal(playerid, params[]){ new Float:Health,...
190
Quote:
Originally Posted by Jefff
pawn Код:
tbhealedhealth = 100-health; // 100 - 100 = ?healprice = tbhealedhealth*10; // tbhealedhealth * 10 = 0 * 10 = ?healtime = tbhealedhealth*100...
130
This is my code:
Код:
CMD:heal(playerid, params[])
{
new Float:health, Float:tbhealedhealth, Float:healprice, Float:healtime, string[128];
GetPlayerHealth(playerid, Float:health);
tbhealedheal...
130
So... New to attaching objects etc to players.
I do SetPlayerAttachedObject, other player can see the object in it's 'starting' position so to say.
Then when I do a CMD with EditPlayerAttachedObject...
49
I've been using the new 0.3e objects with SA-MP Map Editor but if I make a whole int out of it, it is dark as sh*t at night.
Basically I was wondering if there were any ways or any objects to light u...
67
No need to worry, was caused by an external program. All is fixed.
94
Alright, so I wake up today and now everything is fucked. I can't play Singleplayer, MTA (For mapping), SA:MP, anything. I have went to a completely clean backup, literally copy and pasted it as soon ...
94
Quote:
Originally Posted by .FuneraL.
pawn Код:
if(strcmp("/skin 1", cmdtext ,true) == 0){ SetPlayerSkin(playerid, 1); return 1;}
Simple Command Example!
Thanks, but that...
345
C:\Users\Josh\Documents\GTA San Andreas User Files\Testing Server\gamemodes\testing.pwn(551) : error 029: invalid expression, assumed zero
C:\Users\Josh\Documents\GTA San Andreas User Files\Testing Se...
345
Basically, what I'd like to know is how do you make commands that set skin etc..
Now, I know you could do like ...
if (strcmp("/myskin", cmdtext, true) == 0)
{
SetPlayerSkin(playerid,186);
retur...
345