Posts: 426
Threads: 46
Joined: Apr 2011
08.01.2012, 03:20
(
Последний раз редактировалось Aira; 08.01.2012 в 04:27.
)
FIRST PROBLEM SOLVED
NEW PROBLEM BELOW! (MY LAST REPLY) HELP!
Posts: 1,046
Threads: 29
Joined: Mar 2010
pawn Код:
CMD:kill(playerid, params[])
{
new name[MAX_PLAYER_NAME], string[MAX_PLAYER_NAME+13];
KillPlayer
GetPlayerName(playerid, name, sizeof(name));
format(string, sizeof(string), "%s has Sucided", name);
SendClientMessageToAll(COLOR_LIGHTBLUE, string);
return 1;
}
suhrab_mujeeb
Unregistered
Instead of KillPlayer with no ; use SetPlayerHealth(playerid, -1);
Posts: 426
Threads: 46
Joined: Apr 2011
Quote:
Originally Posted by suhrab_mujeeb
Instead of KillPlayer with no ; use SetPlayerHealth(playerid, -1);
|
That Won't kill it obviously (-1HP), -_-.
Working Now, Thanks to BIGeti
Posts: 7
Threads: 0
Joined: Jan 2012
Reputation:
0
HAHAHAHAH I like ur Signature
Posts: 426
Threads: 46
Joined: Apr 2011
Quote:
Originally Posted by XxGenerationXx
HAHAHAHAH I like ur Signature
|
Thanks
>>>>>>> NEW PROBLEM RELATED TO ZCMD <<<<<<<<<
I'm Making a For-Fun FS Coz i'm Bored, its just a Flak Cannon above A51 (Lots of Em), i'm using ZCMD Because my GM is Using ZCMD (I guess it won't work if i use strcmp). Now here's my code
Quote:
CMD:flakstart(playerid, params[])
{
SetTimer("flak1", 1000, false);
return 1;
}
|
Warning:
warning 203: symbol is never used: "flakstart"
Its Scripted as
Includes
Forwards
COMMAND (Only That)
Publics
Posts: 426
Threads: 46
Joined: Apr 2011
Quote:
Originally Posted by Aprezt
pawn Код:
new flakstart[MAX_PLAYERS] ;
|
For everycommand i must do that? -_-
suhrab_mujeeb
Unregistered
Quote:
Originally Posted by [RaZ]Hal_Moore
That Won't kill it obviously (-1HP), -_-.
Working Now, Thanks to BIGeti
|
Have you tested it? It is better than SetPlayerHealth(playerid, 0); because it has no chance of error.
Posts: 426
Threads: 46
Joined: Apr 2011
Quote:
Originally Posted by suhrab_mujeeb
Have you tested it? It is better than SetPlayerHealth(playerid, 0); because it has no chance of error.
|
-999 Would be better than 0 and 1