Quote:
Originally Posted by jueix
put something like this under you'r drivers license system and make it a enum or somert e.g
pawn Код:
PlayerInfo[playerid][Intest] = 1
I put that code under where i start my theory test and have this under on player chat.
pawn Код:
public OnPlayerText(playerid, text[]) { if(!strcmp(text, "Yes", true) && PlayerInfo[playerid][Intest] == 1) { //your code for after yes here. SendClientMessageToAll(green, "Driving Instructor: Ok Next quest !"); // do what ever you want here. return 0; } return 1; }
|
Yeah thats what I was considering, in the end I just used Dialogs, thanks anyway mate.