Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*
- Pedido by: Lucas Vinicius, fórum sa-mp.
- Coded by: Willian_Luigi.
- --------------
- função: criar uma contagem rápida para fazer o login.
- */
- new iCount = 5;
- new iTimer = (0);
- forward assim_caralho(sId);
- public assim_caralho(sId)
- {
- new sStr[20] = "Spawn em";
- format(sStr, 20, "%s %d",sStr, iCount);
- SendClientMessage(sId, -1, sStr);
- iCount --;
- if (iCount < 1)
- {
- KillTimer(iTimer);
- SpawnPlayer(sId);
- return 1;
- }
- return 0;
- }
- public OnPlayerConnect(playerid)
- {
- iTimer = SetTimerEx("assim_caralho", 1000, 1, "i", playerid);
- return 1;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement