Advertisement
Guest User

Untitled

a guest
Mar 18th, 2015
209
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.54 KB | None | 0 0
  1. public busroutestoptimer(playerid)
  2. {
  3. if(IsPlayerConnected(playerid))
  4. {
  5. new newcar = GetPlayerVehicleID(playerid);
  6. if(IsABus(newcar))
  7. {
  8. TogglePlayerControllable(playerid, 1);
  9. SendClientMessage(playerid, TEAM_AZTECAS_COLOR, "You can go now!");
  10. }
  11. }
  12. }
  13. stock strvalEx( const string[] ) // fix for strval-bug with > 50 letters.
  14. {
  15. // written by mabako in less than a minute :X
  16. if( strlen( string ) >= 50 ) return 0; // It will just return 0 if the string is too long
  17. return strval(string);
  18. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement