playerState in 0.3b?
#1

i try the playerState with the 0.3b includes and i look down the list but it isnt there? has it been removed or replaced?
Reply
#2

Maybe you forgot to add
pawn Код:
new playerState = GetPlayerState(playerid);
Reply
#3

pawn Код:
if (playerState == PLAYER_STATE_PASSENGER)
?
Reply
#4

Quote:

i try the playerState with the 0.3b includes and i look down the list but it isnt there? has it been removed or replaced?

There never was playerState, only GetPlayerState :P
Reply
#5

Exactly, so make it

pawn Код:
if (GetPlayerState == PLAYER_STATE_PASSENGER)
Reply
#6

Quote:
Originally Posted by playbox12
Посмотреть сообщение
Exactly, so make it

pawn Код:
if (GetPlayerState == PLAYER_STATE_PASSENGER)
You mean:
pawn Код:
if(GetPlayerState(playerid) == PLAYER_STATE_PASSENGER)
Reply
#7

thanks all, i really am dumb if i didnt see that D:
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)