SA-MP Forums Archive
help on this camera pos? - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: help on this camera pos? (/showthread.php?tid=384212)



help on this camera pos? - RLGaming - 10.10.2012

I have this:
pawn Код:
forward SchoolTimer(playerid);
public SchoolTimer(playerid)
{
    SendClientMessage(playerid, COLOR_GREEN, "Teacher: You are here to learn the basics of 'role-playing'.");
    SetTimerEx("SchoolTimer1", 3000, false, "i", playerid);
    SendClientMessage(playerid, COLOR_WHITE, "-------------------------------------------------------------");
    SendClientMessage(playerid, COLOR_LIGHTGREEN, "Teacher: 'Role-playing' is acting out your character you have created.");
    SendClientMessage(playerid, COLOR_LIGHTGREEN, "Teacher: There are certain rules and boundaries you must follow to succeed in this!");
    SendClientMessage(playerid, COLOR_WHITE, "-------------------------------------------------------------");
    SetTimerEx("SchoolTimer1", 5000, false, "i", playerid);
    SendClientMessage(playerid, COLOR_GREEN, "SUBJECT: Death-matching");
    SetTimerEx("SchoolTimer1", 1000, false, "i", playerid);
    SendClientMessage(playerid, COLOR_LIGHTGREEN, "Teacher: Death-matching is killing/shooting a player WITHOUT a valid role-play reason.");
    SetTimerEx("SchoolTimer1", 3000, false, "i", playerid);
    SendClientMessage(playerid, COLOR_LIGHTGREEN, "Teacher: You must have a valid role-play reason to kill/shoot somebody, I.E. killed a family member.");
    SetTimerEx("SchoolTimer1", 3000, false, "i", playerid);
    SendClientMessage(playerid, COLOR_LIGHTGREEN, "Teacher: Failing to obey these rules will result in a punishment, prison!");
    SendClientMessage(playerid, COLOR_WHITE, "-------------------------------------------------------------");
    SetTimerEx("SchoolTimer1", 5000, false, "i", playerid);
    SendClientMessage(playerid, COLOR_GREEN, "SUBJECT: Meta-gaming");
    SetTimerEx("SchoolTimer1", 1000, false, "i", playerid);
    SendClientMessage(playerid, COLOR_LIGHTGREEN, "Teacher: Meta-gaming is mixing Out of Character information with In Character information.");
    SetTimerEx("SchoolTimer1", 3000, false, "i", playerid);
    SendClientMessage(playerid, COLOR_LIGHTGREEN, "Teacher: You must remain In Character at all times, unless you use /b or /o to speak. ((OOC Speach)) Two brackets.");
    SetTimerEx("SchoolTimer1", 3000, false, "i", playerid);
    SendClientMessage(playerid, COLOR_LIGHTGREEN, "Teacher: You cannot use slang terms In Character as its defined as meta-gaming. I.E. 'lol' 'u', etc!");
    SetTimerEx("SchoolTimer1", 3000, false, "i", playerid);
    SendClientMessage(playerid, COLOR_LIGHTGREEN, "Teacher: Fialing to follow this simple rule will result in a punishment, prison!");
    SendClientMessage(playerid, COLOR_WHITE, "-------------------------------------------------------------");
    SetTimerEx("SchoolTimer1", 5000, false, "i", playerid);
    SetPlayerPos(playerid, 2064.5720, -1912.8397, 13.5469);
    SetCameraBehindPlayer(playerid);
}

forward SchoolTimer1();
public SchoolTimer1()
{
    //
}
But it spams all the text at the same time, how can I fix this?


Re: help on this camera pos? - TzAkS. - 10.10.2012

Do you kill the timer?


Re: help on this camera pos? - Riddick94 - 10.10.2012

Actually.. your code says something like:

[ame]http://www.youtube.com/watch?v=x6RVFT4TNWE[/ame]

By the way.. you're sending player a lot of messages. The default value of lines in chat box is 10. You SHOULD NOT put more in script then.


Re: help on this camera pos? - RLGaming - 10.10.2012

Quote:
Originally Posted by TzAkS.
Посмотреть сообщение
Do you kill the timer?
Urm no lol


Re: help on this camera pos? - RLGaming - 11.10.2012

Anyone?


Re: help on this camera pos? - Riddick94 - 11.10.2012

I've already told you! Read my posts!


Re: help on this camera pos? - RLGaming - 11.10.2012

I tried cutting it down to even 5 and it still doesnt work