Where to put this?
#10

Quote:
Originally Posted by Da' J'
Посмотреть сообщение
Ok so i threw the code to somewhere where was talking about when your health increases. (Cluckin bell etc.) Just under all that. Well i get these errors:

pawn Код:
E:\SA-MP Offical Server\gamemodes\B-RP.pwn(6648) : error 010: invalid function or declaration
E:\SA-MP Offical Server\gamemodes\B-RP.pwn(6650) : warning 218: old style prototypes used with optional semicolumns
E:\SA-MP Offical Server\gamemodes\B-RP.pwn(6651) : error 010: invalid function or declaration
E:\SA-MP Offical Server\gamemodes\B-RP.pwn(45421) : warning 203: symbol is never used: "gCopPlayerSpawns"
E:\SA-MP Offical Server\gamemodes\B-RP.pwn(45421) : warning 203: symbol is never used: "gMedPlayerSpawns"
Pawn compiler 3.2.3664          Copyright (c) 1997-2006, ITB CompuPhase


2 Errors.
Edit: And under OnPlayerUpdate (have tried earlier) it throws up this:
pawn Код:
E:\SA-MP Offical Server\gamemodes\B-RP.pwn(11468) : error 021: symbol already defined: "GetPlayerHealth"
E:\SA-MP Offical Server\gamemodes\B-RP.pwn(11469) : error 010: invalid function or declaration
E:\SA-MP Offical Server\gamemodes\B-RP.pwn(11471) : warning 218: old style prototypes used with optional semicolumns
E:\SA-MP Offical Server\gamemodes\B-RP.pwn(11472) : error 010: invalid function or declaration
E:\SA-MP Offical Server\gamemodes\B-RP.pwn(45421) : warning 203: symbol is never used: "gCopPlayerSpawns"
E:\SA-MP Offical Server\gamemodes\B-RP.pwn(45421) : warning 203: symbol is never used: "gMedPlayerSpawns"
Pawn compiler 3.2.3664          Copyright (c) 1997-2006, ITB CompuPhase


3 Errors.
did you read this?:
Quote:
Originally Posted by [HiC]TheKiller
Посмотреть сообщение
f you are copy and pasting out of other scripts, don't do that, it ends up screwing up your code.
...


Quote:
Originally Posted by G4M3Ov3r
Посмотреть сообщение
Put it under a command, if you wanna use em as a cmd

PHP код:
if(strcmp(cmdtext"/command"true) == 0)
{
    new 
Float:health;
    
GetPlayerHealth(playerid,health);
    if(
health <= 29)
    {
    
ApplyAnimationEx(playerid"CRACK""crckdeth2"4.001111);
    return 
1;

he want a auto crack animation when you reach a certain ammount of health,not a command.
Reply


Messages In This Thread
Where to put this? - by Da' J' - 17.09.2011, 21:27
Re: Where to put this? - by [HiC]TheKiller - 17.09.2011, 21:39
Re: Where to put this? - by [MG]Dimi - 17.09.2011, 21:47
Re: Where to put this? - by Xyrex - 17.09.2011, 21:51
Re: Where to put this? - by [MG]Dimi - 17.09.2011, 21:53
Re: Where to put this? - by Da' J' - 17.09.2011, 21:56
Re: Where to put this? - by Xyrex - 17.09.2011, 22:01
Re: Where to put this? - by JiHost - 17.09.2011, 22:12
Re: Where to put this? - by =WoR=Varth - 17.09.2011, 22:48
Re: Where to put this? - by =WoR=Bruno - 17.09.2011, 22:50

Forum Jump:


Users browsing this thread: 1 Guest(s)