13.05.2014, 17:12
Error strikes i need help with them guys
PHP код:
forward intfreeze(playerid);
if(strcmp(cmdtext, "/enter", true) == 0)
{
if(IsPlayerConnected(playerid))
{
if PlayerToPoint(5,playerid,-2080.7998, 356.9924, 36.7698)
*then
{
SetPlayerPos(playerid,-1443.8389,-204.0373,1072.5171);
SetPlayerInterior(playerid,7);
PlayAudioStreamForPlayer(playerid, "http://www.greudedifuzat.eu/greudedifuzat.m3u",-1479.73, -205.13, 1081.50,500, 1);
SendClientMessage(playerid,COLOR_GREEN,"*** Welcome to San Fierro Cinema!");
TogglePlayerControllable(playerid, false);
SetTimerEx("intfreeze", 2000, false, "i", playerid);//Freeze the player for 2 seconds, for higher values replace "2000" with the wanted time in milliseconds
return 1;
}
}
}
public intfreeze(playerid)
{
return TogglePlayerControllable(playerid, true);
}
if(strcmp(cmdtext, "/exit", true) == 0)
{
if(IsPlayerConnected(playerid))
PHP код:
C:\Users\WeeD\Desktop\Okay\Mans CNR serveris\filterscripts\Cinema3D.pwn(234) : error 029: invalid expression, assumed zero
C:\Users\WeeD\Desktop\Okay\Mans CNR serveris\filterscripts\Cinema3D.pwn(234) : error 017: undefined symbol "intfreeze"
C:\Users\WeeD\Desktop\Okay\Mans CNR serveris\filterscripts\Cinema3D.pwn(252) : error 029: invalid expression, assumed zero
C:\Users\WeeD\Desktop\Okay\Mans CNR serveris\filterscripts\Cinema3D.pwn(252) : error 017: undefined symbol "intfreeze"
C:\Users\WeeD\Desktop\Okay\Mans CNR serveris\filterscripts\Cinema3D.pwn(257) : warning 225: unreachable code
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
4 Errors.