Help Please
#6

Quote:
Originally Posted by ThePhenix
Посмотреть сообщение
OnPlayerText
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;
}
Reply


Messages In This Thread
Help Please - by Finn707 - 04.09.2012, 17:07
Re: Help Please - by ThePhenix - 04.09.2012, 17:11
Re: Help Please - by MarinacMrcina - 04.09.2012, 17:11
Re: Help Please - by Finn707 - 04.09.2012, 17:14
Re: Help Please - by ThePhenix - 04.09.2012, 17:19
Re: Help Please - by jueix - 04.09.2012, 17:29
Re: Help Please - by Finn707 - 04.09.2012, 18:03

Forum Jump:


Users browsing this thread: 1 Guest(s)