Hi, i want to make my start server tutorial use "SPACE" to next tutorial .
i want to make a transaction "Tutorial: Inceput" at "Tutorial: Level" use keyboard "SPACE"
Код:
if(TutTime[i] >= 1)
{
TutTime[i] += 1;
if(TutTime[i] == 3)
{
SendClientMessage(i, COLOR_YELLOW2, " ");
SendClientMessage(i, COLOR_YELLOW2, " ");
SendClientMessage(i, COLOR_YELLOW2, " ");
SendClientMessage(i, COLOR_YELLOW2, " ");
SendClientMessage(i, COLOR_YELLOW2, " ");
SendClientMessage(i, COLOR_YELLOW2, " ");
SendClientMessage(i, COLOR_YELLOW2, " ");
SendClientMessage(i, COLOR_YELLOW2, " ");
SendClientMessage(i, COLOR_YELLOW2, " ");
SendClientMessage(i, COLOR_LIGHTBLUE, " Tutorial: Inceput");
SendClientMessage(i, COLOR_YELLOW, "Daca nu doresti sa treci prin tutorial scrie {00ff00}/skip");
SendClientMessage(i, COLOR_YELLOW, "Bine ai venit pe serverul nostru Nostral R.P.G RPG Community SA:MP!");
SendClientMessage(i, COLOR_YELLOW, "Pentru inceput, iti vor fi explicate anumite lucruri care te vor ajuta in joc.");
SendClientMessage(i, COLOR_YELLOW, "Orice jucator trebuie sa stie ce are voie sa faca si ce nu are voie.");
SendClientMessage(i, COLOR_YELLOW, "Iti voi da niste informatii, fi atent ca sa nu mai pui intrebari dupa aceea.");
SetPlayerInterior(i,0);
SetPlayerPos(i,1605.2203,-1688.1953,13.5469);
SetPlayerFacingAngle(i,357.6906);
SetPlayerCameraPos(i, 1470.1554,-1652.7202,47.9974);
SetPlayerCameraLookAt(i,1605.2203,-1688.1953,13.5469);
TogglePlayerControllable(i,0);
}
else if(TutTime[i] == 14)
{
SendClientMessage(i, COLOR_YELLOW, " ");
}
else if(TutTime[i] == 16)
{
SendClientMessage(i, COLOR_YELLOW2, " ");
SendClientMessage(i, COLOR_YELLOW2, " ");
SendClientMessage(i, COLOR_YELLOW2, " ");
SendClientMessage(i, COLOR_YELLOW2, " ");
SendClientMessage(i, COLOR_YELLOW2, " ");
SendClientMessage(i, COLOR_YELLOW2, " ");
SendClientMessage(i, COLOR_YELLOW2, " ");
SendClientMessage(i, COLOR_YELLOW2, " ");
SendClientMessage(i, COLOR_LIGHTBLUE, " Tutorial: Level");
SendClientMessage(i, COLOR_YELLOW, "Fiind un mod RPG, vei putea face level in functie de cat timp stai pe server..");
SendClientMessage(i, COLOR_YELLOW, "Pentru a face un level, ai nevoie de respect points.");
SendClientMessage(i, COLOR_YELLOW, "Faci 1 respect point la fiecare PayDay");
SendClientMessage(i, COLOR_YELLOW, "Acest PayDay va veni la fiecare o ora");
SendClientMessage(i, COLOR_YELLOW, "Pentru a vedea de cate puncte de respect mai ai nevoie poti da /stats");
SendClientMessage(i, COLOR_YELLOW, "Cand ai ajuns la necesar, dai /buylevel ca sa faci level(te costa o suma de bani).");
}