if (strcmp(cmd, "/tutorial", true) == 0)
{
if(IsPlayerConnected(playerid))
{
if(TutTime[playerid] >= 1)
{
TutTime[playerid] += 1;
if(TutTime[playerid] == 3)
{
SetPlayerCameraPos(playerid,1476.2671,-1774.8066,113.8872);
SetPlayerCameraLookAt(playerid,1477.8811,-1688.0593,14.0469);
SetPlayerInterior(playerid,0);
GameTextForPlayer(playerid, " ~w~ Inceputul ", 1000,1);
SendClientMessage(playerid, COLOR_LIGHTBLUE, "|___Tutorial: Inceput___|");
SendClientMessage(playerid, COLOR_WHITE, "Salut, vad ca esti nou, asa ca iti voi prezenta un toturial scurt.");
SendClientMessage(playerid, COLOR_LIGHTBLUE, "Orice player nou trebuie sa stie ce el/ea, poate si ce nu poate face.");
SendClientMessage(playerid, COLOR_YELLOW, "O sa-ti dau niste informatii, asa ca te rog acorda-le atentie.");
}
else if(TutTime[playerid] == 5)
{
SendClientMessage(playerid, COLOR_LIGHTBLUE, "|___Tutorial: Despre server___|");
GameTextForPlayer(playerid, " ~w~ Despre server ", 1000,1);
SendClientMessage(playerid, COLOR_LIGHTBLUE, "Acest server se bazeaza pe modul RolePlay.");
SendClientMessage(playerid, COLOR_YELLOW, "Jucatorii care vin sa se distreze pe seama deathmatch-ului vor fi sanctionati.");
SendClientMessage(playerid, COLOR_WHITE, "Numele tau conteaza foarte mult.");
SendClientMessage(playerid, COLOR_YELLOW, "Decieste mai bine sa ai un nume scurt si usor de citit. Ex: Ionutz");
SendClientMessage(playerid, COLOR_LIGHTBLUE, "Daca vrei sa aflii mai multe viziteaza forumul nostru si intra in categoria Romania Official Server your Second Life SAMP");
SendClientMessage(playerid, COLOR_WHITE, "(Forumul este {www.onws.ro/forum/}.");
}
else if(TutTime[playerid] == 7)
{
SendClientMessage(playerid, COLOR_LIGHTBLUE, "|___Tutorial: Ajutor___|");
SetPlayerCameraPos(playerid,307.8033,-1598.9034,114.4219);
SetPlayerCameraLookAt(playerid,394.2175,-1530.0784,32.2734);
GameTextForPlayer(playerid, " ~w~ Ajutor ", 1000,1);
SendClientMessage(playerid, COLOR_WHITE, "Daca nu intelegi ceva poti contacta un admin sau GM.");
SendClientMessage(playerid, COLOR_LIGHTBLUE, "Pentru a vedea admini si GM poti scrie /admins sau /gmon.");
SendClientMessage(playerid, COLOR_WHITE, "Poti folosi urmatoarea intrebare: Salut ma poti ajuta si pe mine cu...?");
SendClientMessage(playerid, COLOR_LIGHTBLUE, "Nu cauza conflicte pe server, vei fi privit urat de ceilalti jucatori.");
SendClientMessage(playerid, COLOR_WHITE, "Daca ajungi intr-un conflict, incerca sa il inchizi, asa te vei feri de o sanctiune.");
SendClientMessage(playerid, COLOR_LIGHTBLUE, "Foloseste comenzile /w (privat) /sms (Daca ai numar de telefon) pentru a vorbi cu cineva.");
}
else if(TutTime[playerid] == 9)
{
SendClientMessage(playerid, COLOR_YELLOW, "|___Tutorial: Coduri si abuz___|");
GameTextForPlayer(playerid, " ~w~ Coduri si abuz ", 1000,1);
SendClientMessage(playerid, COLOR_WHITE, "Codurile nu sunt permise pe server, daca cineva foloseste va fi banat.");
SendClientMessage(playerid, COLOR_LIGHTBLUE, "De accea nu dorim folosirea codurilor.");
SendClientMessage(playerid, COLOR_WHITE, "Daca cineva foloseste cod reporteaza-l la un admin folosind comanda /report.");
SendClientMessage(playerid, COLOR_LIGHTBLUE, "Abuzul de bug sau de altceva in scop personal este de asemenea considerat cod, deci ban permanent.");
SendClientMessage(playerid, COLOR_WHITE, "Incerca sa joci corent, este mai placut si mai distractiv.");
}
else if(TutTime[playerid] == 11)
{
SendClientMessage(playerid, COLOR_YELLOW, "|___Tutorial: Limbaj & Reclama___|");
SetPlayerCameraPos(playerid,1334.2651,-959.9299,142.7608);
SetPlayerCameraLookAt(playerid,1411.1090,-809.9825,75.4482);
GameTextForPlayer(playerid, " ~w~ Limbaj & Reclama ", 1000,1);
SendClientMessage(playerid, COLOR_LIGHTBLUE, "Dorim sa folosesti limba romanda, doar suntem romani.");
SendClientMessage(playerid, COLOR_WHITE, "Daca vrei sa vorbesti cu cineva pe limba ta, folosete /w sau /sms.");
SendClientMessage(playerid, COLOR_LIGHTBLUE, "Publicitatea este INTERZISA, te va conduce direct spre ban.");
SendClientMessage(playerid, COLOR_WHITE, "Deasemenea,sunteti obligati sa cititi pe forum si celelante reguli legate de RolePlay.");
}
else if(TutTime[playerid] == 13)
{
SendClientMessage(playerid, COLOR_LIGHTBLUE, "|___Tutorial: Sfarsit___|");
GameTextForPlayer(playerid, " ~w~ Sfarsit ", 1000,1);
SendClientMessage(playerid, COLOR_WHITE, "Am terminat, Tutorial.");
SendClientMessage(playerid, COLOR_YELLOW, "Doar tinetile minte si distrati-va!");
SendClientMessage(playerid, COLOR_WHITE, "Salutari de la echipa Romania SA:MP Server. Sa aveti noroc si distrati-va.");
SendClientMessage(playerid, COLOR_LIGHTBLUE, "Conturi MULTIPLE : BAN PERMANENT!!");
SendClientMessage(playerid, COLOR_YELLOW, "|=============|SFARSIT|=============|");
}
else if(TutTime[playerid] == 15)
{
TutTime[playerid] = 0; PlayerInfo[playerid][pTut] = 1;
gOoc[playerid] = 0; gNews[playerid] = 0; gFam[playerid] = 0;
TogglePlayerControllable(playerid, 1);
MedicBill[playerid] = 0;
RegistrationStep[playerid] = 0;
SetPlayerSpawn(playerid);
GivePlayerCash(playerid, 20000);
SetCameraBehindPlayer(playerid);
}
}
}
return 1;
}
if (strcmp(cmd, "/tutorial", true) == 0)
{
if(IsPlayerConnected(playerid))
{
if(TutTime[playerid] >= 1)
{
TutTime[playerid] += 1;
if(TutTime[playerid] == 3)
{
SetPlayerCameraPos(playerid,1476.2671,-1774.8066,113.8872);
SetPlayerCameraLookAt(playerid,1477.8811,-1688.0593,14.0469);
SetPlayerInterior(playerid,0);
GameTextForPlayer(playerid, " ~w~ Inceputul ", 1000,1);
SendClientMessage(playerid, COLOR_LIGHTBLUE, "|___Tutorial: Inceput___|");
SendClientMessage(playerid, COLOR_WHITE, "Salut, vad ca esti nou, asa ca iti voi prezenta un toturial scurt.");
SendClientMessage(playerid, COLOR_LIGHTBLUE, "Orice player nou trebuie sa stie ce el/ea, poate si ce nu poate face.");
SendClientMessage(playerid, COLOR_YELLOW, "O sa-ti dau niste informatii, asa ca te rog acorda-le atentie.");
}
else if(TutTime[playerid] == 5)
{
SendClientMessage(playerid, COLOR_LIGHTBLUE, "|___Tutorial: Despre server___|");
GameTextForPlayer(playerid, " ~w~ Despre server ", 1000,1);
SendClientMessage(playerid, COLOR_LIGHTBLUE, "Acest server se bazeaza pe modul RolePlay.");
SendClientMessage(playerid, COLOR_YELLOW, "Jucatorii care vin sa se distreze pe seama deathmatch-ului vor fi sanctionati.");
SendClientMessage(playerid, COLOR_WHITE, "Numele tau conteaza foarte mult.");
SendClientMessage(playerid, COLOR_YELLOW, "Decieste mai bine sa ai un nume scurt si usor de citit. Ex: Ionutz");
SendClientMessage(playerid, COLOR_LIGHTBLUE, "Daca vrei sa aflii mai multe viziteaza forumul nostru si intra in categoria Romania Official Server your Second Life SAMP");
SendClientMessage(playerid, COLOR_WHITE, "(Forumul este {www.onws.ro/forum/}.");
}
else if(TutTime[playerid] == 7)
{
SendClientMessage(playerid, COLOR_LIGHTBLUE, "|___Tutorial: Ajutor___|");
SetPlayerCameraPos(playerid,307.8033,-1598.9034,114.4219);
SetPlayerCameraLookAt(playerid,394.2175,-1530.0784,32.2734);
GameTextForPlayer(playerid, " ~w~ Ajutor ", 1000,1);
SendClientMessage(playerid, COLOR_WHITE, "Daca nu intelegi ceva poti contacta un admin sau GM.");
SendClientMessage(playerid, COLOR_LIGHTBLUE, "Pentru a vedea admini si GM poti scrie /admins sau /gmon.");
SendClientMessage(playerid, COLOR_WHITE, "Poti folosi urmatoarea intrebare: Salut ma poti ajuta si pe mine cu...?");
SendClientMessage(playerid, COLOR_LIGHTBLUE, "Nu cauza conflicte pe server, vei fi privit urat de ceilalti jucatori.");
SendClientMessage(playerid, COLOR_WHITE, "Daca ajungi intr-un conflict, incerca sa il inchizi, asa te vei feri de o sanctiune.");
SendClientMessage(playerid, COLOR_LIGHTBLUE, "Foloseste comenzile /w (privat) /sms (Daca ai numar de telefon) pentru a vorbi cu cineva.");
}
else if(TutTime[playerid] == 9)
{
SendClientMessage(playerid, COLOR_YELLOW, "|___Tutorial: Coduri si abuz___|");
GameTextForPlayer(playerid, " ~w~ Coduri si abuz ", 1000,1);
SendClientMessage(playerid, COLOR_WHITE, "Codurile nu sunt permise pe server, daca cineva foloseste va fi banat.");
SendClientMessage(playerid, COLOR_LIGHTBLUE, "De accea nu dorim folosirea codurilor.");
SendClientMessage(playerid, COLOR_WHITE, "Daca cineva foloseste cod reporteaza-l la un admin folosind comanda /report.");
SendClientMessage(playerid, COLOR_LIGHTBLUE, "Abuzul de bug sau de altceva in scop personal este de asemenea considerat cod, deci ban permanent.");
SendClientMessage(playerid, COLOR_WHITE, "Incerca sa joci corent, este mai placut si mai distractiv.");
}
else if(TutTime[playerid] == 11)
{
SendClientMessage(playerid, COLOR_YELLOW, "|___Tutorial: Limbaj & Reclama___|");
SetPlayerCameraPos(playerid,1334.2651,-959.9299,142.7608);
SetPlayerCameraLookAt(playerid,1411.1090,-809.9825,75.4482);
GameTextForPlayer(playerid, " ~w~ Limbaj & Reclama ", 1000,1);
SendClientMessage(playerid, COLOR_LIGHTBLUE, "Dorim sa folosesti limba romanda, doar suntem romani.");
SendClientMessage(playerid, COLOR_WHITE, "Daca vrei sa vorbesti cu cineva pe limba ta, folosete /w sau /sms.");
SendClientMessage(playerid, COLOR_LIGHTBLUE, "Publicitatea este INTERZISA, te va conduce direct spre ban.");
SendClientMessage(playerid, COLOR_WHITE, "Deasemenea,sunteti obligati sa cititi pe forum si celelante reguli legate de RolePlay.");
}
else if(TutTime[playerid] == 13)
{
SendClientMessage(playerid, COLOR_LIGHTBLUE, "|___Tutorial: Sfarsit___|");
GameTextForPlayer(playerid, " ~w~ Sfarsit ", 1000,1);
SendClientMessage(playerid, COLOR_WHITE, "Am terminat, Tutorial.");
SendClientMessage(playerid, COLOR_YELLOW, "Doar tinetile minte si distrati-va!");
SendClientMessage(playerid, COLOR_WHITE, "Salutari de la echipa Romania SA:MP Server. Sa aveti noroc si distrati-va.");
SendClientMessage(playerid, COLOR_LIGHTBLUE, "Conturi MULTIPLE : BAN PERMANENT!!");
SendClientMessage(playerid, COLOR_YELLOW, "|=============|SFARSIT|=============|");
}
else if(TutTime[playerid] == 15)
{
TutTime[playerid] = 0; PlayerInfo[playerid][pTut] = 1;
gOoc[playerid] = 0; gNews[playerid] = 0; gFam[playerid] = 0;
TogglePlayerControllable(playerid, 1);
MedicBill[playerid] = 0;
RegistrationStep[playerid] = 0;
SetPlayerSpawn(playerid);
GivePlayerCash(playerid, 20000);
SetCameraBehindPlayer(playerid);
}
else
{
if(TutTime[playerid] == 14)
{
SendClientMessage(playerid, COLOR_RED,"You're Already in the tutorial"); //Type your Error message here
}
}
}
return 1;
}
i fixed it ..i got a question is it possible so i make the green money in red,yellow,blue colors like half??
|