#error
#3

Quote:
Originally Posted by Vince
Посмотреть сообщение
#error is a preprocessor directive. It can only be called during compilation.

To return values, you obviously use the return keyword ..
Thanks how about this one?

Quote:
Originally Posted by RollTi
Посмотреть сообщение
How to make a GetPlayerBlahBlahBlah

like

Код:
if(GetPlayerSpecialAction(playerid) == SPECIAL_ACTION_DANCE1)
that is example only here is what i want to do

Код:
if(GetPlayerStockFunc(playerid) == true/false)
EDIT:

i get error in this line

pawn Код:
if(toggle < 0 || toggle > 1) return #error TogglePlayerAFK doesn't support value only true/false (bool) #endif
Reply


Messages In This Thread
#error - by RollTi - 24.04.2012, 10:59
Re: #error - by Vince - 24.04.2012, 11:24
Re: #error - by RollTi - 24.04.2012, 11:26
Re: #error - by 2KY - 24.04.2012, 12:46
Re: #error - by Vince - 24.04.2012, 13:22
Re: #error - by Sasino97 - 24.04.2012, 14:29
Re: #error - by RollTi - 25.04.2012, 10:57

Forum Jump:


Users browsing this thread: 1 Guest(s)