help on this camera pos?
#1

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?
Reply
#2

Do you kill the timer?
Reply
#3

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.
Reply
#4

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

Anyone?
Reply
#6

I've already told you! Read my posts!
Reply
#7

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


Forum Jump:


Users browsing this thread: 1 Guest(s)