Hello i have made an tutorial script for my gm but when its done i dont spawn how do i fix this?
pawn Код:
public tut0(playerid)
{
SendClientMessage(playerid, COLOR_GREEN, "Tutorial guide: Hello and welcome to Red County!");
SendClientMessage(playerid, COLOR_GREEN, "Tutorial guide: First you need to know the basics off this place");
SendClientMessage(playerid, COLOR_GREEN, "Tutorial guide: One important thing is that you dont use OOC information ICly if you do that someone might complain against you and you might get problems");
SendClientMessage(playerid, COLOR_GREEN, "Tutorial guide: What is also very important is that you are IN CHARACTER sow dont do things you wouldn't do in real life!");
SetPlayerCameraPos(playerid, 421.9918,476.9649,91.7241);
SetPlayerCameraLookAt(playerid, 2468.1089,137.7119,134.0047);
KillTimer(Timer1);
Timer1 = SetTimerEx("tut2",50000,false, "i", playerid);
return 1;
}
public tut1(playerid)
{
SendClientMessage(playerid, COLOR_GREEN, "Tutorial guide: Some basic rules you might already know are these:");
SendClientMessage(playerid, COLOR_GREEN, "Do not spam, do not scam repeatly, Do not advertise for other servers or services, Do not us OOC information ICly, Do not drive NON-RP(dont race and drive against poles and cars)
SendClientMessage(playerid, COLOR_GREEN, "No deathmatching at all!, Only english language if you wish to speak your own language then do it in pm, Dont turn people against the admins or the server that will be considerd as a form of advertisment!");
SetPlayerCameraPos(playerid, 2468.1089,137.7119,134.0047,118.2917,0,0);
SetPlayerCameraLookAt(playerid, 1383.8921,2185.5471,11.0234);
KillTimer(Timer1);
Timer1 = SetTimerEx("tut2",50000,false, "i", playerid);
return 1;
}
public tut2(playerid)
{
SendClientMessage(playerid, COLOR_GREEN, "Tutorial guide: If you want to drive somewhere but dont have a drivers license, dont worry! there are bikes all over Red County to make sure you can get anywhere!");
SendClientMessage(playerid, COLOR_GREEN, "Tutorial guide: You might want to know these commands:
SendClientMessage(playerid, COLOR_GREEN, "Tutorial guide: /pay [playerid/name], /killme, /fish, /sellfish, /buy, /eoff, /lock, /unlock, /animlist.");
SetPlayerCameraPos(playerid, 33.1230,1248.1548,152.2349);
SetPlayerCameraLookAt(playerid, 1408.3383,2210.8264,23.7940); //Stand in a position of what you want the camera to look at. (Stand infront of where your camera pos it)
KillTimer(Timer2);
Timer2 = SetTimerEx("tut3",50000,false, "i", playerid);
return 1;
}
public tut3(playerid)
{
SendClientMessage(playerid, COLOR_GREEN, "Tutorial guide: Last but definitly not least: the chat commands!");
SendClientMessage(playerid, COLOR_GREEN, "Tutorial guide: To shout: /s. To whisper: /w [playerid] [text]. To talk OOC: /o [text]. To ask something about the server or need help with something use: /n [text]
SetPlayerCameraPos(playerid, -794.3657,1679.9799,117.2407);
SetPlayerCameraLookAt(playerid, 1408.3383,2210.8264,23.7940); //Stand in a position of what you want the camera to look at. (Stand infront of where your camera pos it)
KillTimer(Timer0);
KillTimer(Timer1);
KillTimer(Timer2);
KillTimer(Timer3);
return 1;
}