toribio

toribio

Aug 18th, 2009
124
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.45 KB | None | 0 0
  1. //no topo:
  2. new bool:tutorial[MAX_PLAYERS];
  3.  
  4. //OnPlayerDisconnect:
  5. tutorial[playerid] = false;
  6.  
  7. //no comecinho do OnPlayerSpawn:
  8. if(!tutorial[playerid])
  9. {
  10.     SetPlayerPos(1709.9984, -2338.1992, -2.6797);
  11.     //mensagens
  12.     //quando ja terminar de mandar as mensagens, usa tutorial[playerid] = true; pra o tutorial não aparecer mais
  13.     //então se o tutorial acaba aqui no OnPlayerSpawn mesmo, descomente a linha seguinte:
  14.     //tutorial[playerid] = true;
  15. }
Add Comment
Please, Sign In to add comment