How would I do this?(If get player state)
#3

pawn Код:
if(GetPlayerState(playerid) != PLAYER_STATE_DRIVER)

EDIT:

Quote:
Originally Posted by kirollos
Посмотреть сообщение
pawn Код:
if(GetPlayerState(playerid) != PLAYER_STATE_DRIVER))
{
    SendClientMessage(playerid, -1, "ERROR: You are not in a vehicle!");
    return 1;
}
You don't need to keep those 2 braces.
Reply


Messages In This Thread
How would I do this?(If get player state) - by UnknownGamer - 12.09.2012, 16:55
Re: How would I do this?(If get player state) - by Kirollos - 12.09.2012, 16:57
Re: How would I do this?(If get player state) - by Cypress - 12.09.2012, 16:57
Re: How would I do this?(If get player state) - by UnknownGamer - 12.09.2012, 17:02
Re: How would I do this?(If get player state) - by C00K13M0N$73R - 12.09.2012, 17:04
Re: How would I do this?(If get player state) - by Cypress - 12.09.2012, 17:06

Forum Jump:


Users browsing this thread: 1 Guest(s)