timer prob
#1

so i made public shit for timer but now i got some errors...

Код HTML:
public tuttime1()
{
	InterpolateCameraPos(tutplayers,  813.0571, -1400.3551, 12.7071, 1203.9504, -1405.3339, 15.6274, 10000, CAMERA_MOVE);
	InterpolateCameraLookAt(tutplayers, 814.0610, -1400.3408, 12.9071, 1203.5706, -1404.4026, 15.5923, 10000, CAMERA_MOVE);
	tuttime12 = TextDrawCreate(240.0,580.0,"Hospital");
	return 1;
}
ERRORS:

Код HTML:
C:\Users\MaticKepa\Desktop\Real Life ENG\gamemodes\mazda.pwn(2972) : error 017: undefined symbol "tutplayers"
C:\Users\MaticKepa\Desktop\Real Life ENG\gamemodes\mazda.pwn(2973) : error 017: undefined symbol "tutplayers"
C:\Users\MaticKepa\Desktop\Real Life ENG\gamemodes\mazda.pwn(2974) : warning 204: symbol is assigned a value that is never used: "tuttime12"
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


2 Errors.
Reply
#2

pawn Код:
public tuttime1(tutplayers)
{
    InterpolateCameraPos(tutplayers,  813.0571, -1400.3551, 12.7071, 1203.9504, -1405.3339, 15.6274, 10000, CAMERA_MOVE);
    InterpolateCameraLookAt(tutplayers, 814.0610, -1400.3408, 12.9071, 1203.5706, -1404.4026, 15.5923, 10000, CAMERA_MOVE);
    tuttime12 = TextDrawCreate(240.0,580.0,"Hospital");
    return 1;
}
You didn't create a parameter in the function.
Reply
#3

got same problems
Reply
#4

Should the function execute for one player or all all players? I assume for all players because tutplayerS is plural, you will need to use a loop for that!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)