26.07.2009, 15:58
IAM REALLY MAD AND WHEN IAM USING CAPS ITS COOLING ME DOWN, AND I'VE BEEN TRYING TO FIX THESE FUCKING ERRORS AND THEY DONT WANT TO FUCKING GET FIXED AND IAM JUST MAD AND I NEED SOMEONE'S HELP IF YOU CAN HELP ME!!!!!!!!!!!!
Script:
Scroll down to see full of the script!!!
here are the errors after compiling:
I WILL BE REALLY GREATFULL AND THANKFULL TO WHO WILL HELP ME!!!
Script:
pawn Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
if (strcmp("/enter", cmdtext, true, 10) == 0)
{
if (PlayerToPoint(1, playerid, -2660.8972,1423.4766,906.4609))
{
SetPlayerPos(playerid, 1630.1722,1789.5437,10.8203);
SendClientMessage(playerid, 0xFF8080FF, " Elevator: Press the 'R' button to lift up to the roof top (( /roof )) ");
}
}
return 1;
}
if (strcmp("/roof", cmdtext, true, 10) == 0) // Line 50
{
if (elevused[playerid] == 0) // Line 52
{
if (PlayerToPoint(4, playerid, 1630.1722,1789.5437,10.8203)) // Line 54
{
SendClientMessage(playerid, 0xFF8080FF, " Elevator: You're being lifted up ");
SetTimer("liftup1", 2000, 1);
}
}
return 1; // Line 60
}
if (strcmp("/exit", cmdtext, true, 10) == 0) // Line 63
{
if (elevused[playerid] == 1) // Line 65
{
if (PlayerToPoint(4, playerid, 1630.1722, 1789.5437, 10.8203)) // Line 67
{
SetPlayerPos(playerid, 1628.8466,1780.0254,30.4688);
}
}
return 1; // Line 72
}
return 0; // Line 74
}
here are the errors after compiling:
Код:
C:\Users\Soka\Desktop\Server\elevator.pwn(50) : error 010: invalid function or declaration C:\Users\Soka\Desktop\Server\elevator.pwn(52) : error 010: invalid function or declaration C:\Users\Soka\Desktop\Server\elevator.pwn(54) : error 010: invalid function or declaration C:\Users\Soka\Desktop\Server\elevator.pwn(60) : error 010: invalid function or declaration C:\Users\Soka\Desktop\Server\elevator.pwn(63) : error 010: invalid function or declaration C:\Users\Soka\Desktop\Server\elevator.pwn(65) : error 010: invalid function or declaration C:\Users\Soka\Desktop\Server\elevator.pwn(67) : error 010: invalid function or declaration C:\Users\Soka\Desktop\Server\elevator.pwn(72) : error 010: invalid function or declaration C:\Users\Soka\Desktop\Server\elevator.pwn(74) : error 010: invalid function or declaration Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 9 Errors.