SA-MP Forums Archive
help me - 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 me (/showthread.php?tid=290411)



help me - Fires - 15.10.2011

hI I HAVE A PROBLEM

I want to create a tutorial for the player but i have this problem
Код:
error 004: function "OnTutorialTimer" is not implemented

error 029: invalid expression, assumed zero
here
Код:
#pragma unused OnTutorialTimer

public OnTutorialTimer()
{
for (new i=0; i<MAX_PLAYERS; i++)
{
if (IsPlayerConnected(i) && gPlayerLogged[i])
{
if(RegistrationStep[i] == 1)
{
SetPlayerCameraPos(i, 1738,-1844,19);
SetPlayerCameraLookAt(i,1763,-1897,0);
SetPlayerPos(i,CivilianSpawn[X],CivilianSpawn[Y],CivilianSpawn[Z]);
TogglePlayerControllable(i,0);
}
else if (RegistrationStep[i] == 3)
{
//here there is the sendclientmessage



Re: help me - [MWR]Blood - 15.10.2011

Assure that you close all braces correctly.