15.03.2013, 19:21
(
Последний раз редактировалось Duzzify; 15.03.2013 в 19:57.
)
ey wud a lol? wud wrong here?
The Error my compile gives:
(843) : error 010: invalid function or declaration
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
1 Error.
the script:
public OnPlayerCommandText(playerid, cmdtext[])
{
return 0;
}
CMD:help(playerid,params[])
{
SendClientMessage(playerid, -1, "(INFO) Welcome to BreakDown Stunting HELP command!");
SendClientMessage(playerid, -1, "(INFO) You can do /commands for a list of all commands");
return 1;
}
CMD:kill(playerid,params[])
{
SetPlayerHealth(playerid, 0);
SendClientMessage(playerid, -1, "(INFO) You have commited suicide!");
return 1;
}
CMD:commands(playerid,params[])
{
SendClientMessage(playerid, -1, "(INFO) Below me is a list of all commands!");
SendClientMessage(playerid, -1, "(INFO) Teleports: /lsair,/sfair,/lvair,/aa,/grove,/lspd!");
SendClientMessage(playerid, -1, " (INFO) /kill,/ping,!");
return 1;
}
CMD:cj(playerid,params[])
{
SendClientMessage(playerid, 0xFFFFFFFF, "{FF0000}[Server] {FFFFFF}You've Teleported To Cj House.");
SetPlayerPos(playerid, 2495.2952,-1686.4703,13.5142);
SetPlayerFacingAngle(playerid, 1.5667);
return 1;
}
CMD:lvair(playerid,params[])
{
SetPlayerPos(playerid,11614.5671,1163.2451,14.2188 );
SendClientMessage(playerid, -1, "Teleported to Las Venturas Airport!");
return 1;
}
CMDtuntroad(playerid,params[])
{
SetPlayerInterior(playerid,0);
if (GetPlayerState(playerid) == PLAYER_STATE_DRIVER)
{
LinkVehicleToInterior(GetPlayerVehicleID(playerid) ,0);
SetVehiclePos(GetPlayerVehicleID(playerid),-804.0,-566.0,2189.0);
SetVehicleZAngle(GetPlayerVehicleID(playerid),0.0) ;
}
else
{
SetPlayerPos(playerid,-804.0,-566.0,2189.0);
SetPlayerFacingAngle(playerid,0.0);
}
return 1;
}
CMDuperjump(playerid,params[])
{
SetPlayerInterior(playerid,0);
if (GetPlayerState(playerid) == PLAYER_STATE_DRIVER)
{
LinkVehicleToInterior(GetPlayerVehicleID(playerid) ,0);
SetVehiclePos(GetPlayerVehicleID(playerid),1794.0, 1828.0,668.0);
SetVehicleZAngle(GetPlayerVehicleID(playerid),0.0) ;
}
else
{
SetPlayerPos(playerid,1794.0,1828.0,668.0);
SetPlayerFacingAngle(playerid,0.0);
}
return 1;
}
CMD:lsair(playerid,params[])
{
SetPlayerPos(playerid,1922.0496,-2234.1985,13.5469);
SendClientMessage(playerid, -1, "Teleported To Los Santos Airport");
return 1;
}
return 0; <<------------- THE ERROR LINE IS HERE
}
The Error my compile gives:
(843) : error 010: invalid function or declaration
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
1 Error.
the script:
public OnPlayerCommandText(playerid, cmdtext[])
{
return 0;
}
CMD:help(playerid,params[])
{
SendClientMessage(playerid, -1, "(INFO) Welcome to BreakDown Stunting HELP command!");
SendClientMessage(playerid, -1, "(INFO) You can do /commands for a list of all commands");
return 1;
}
CMD:kill(playerid,params[])
{
SetPlayerHealth(playerid, 0);
SendClientMessage(playerid, -1, "(INFO) You have commited suicide!");
return 1;
}
CMD:commands(playerid,params[])
{
SendClientMessage(playerid, -1, "(INFO) Below me is a list of all commands!");
SendClientMessage(playerid, -1, "(INFO) Teleports: /lsair,/sfair,/lvair,/aa,/grove,/lspd!");
SendClientMessage(playerid, -1, " (INFO) /kill,/ping,!");
return 1;
}
CMD:cj(playerid,params[])
{
SendClientMessage(playerid, 0xFFFFFFFF, "{FF0000}[Server] {FFFFFF}You've Teleported To Cj House.");
SetPlayerPos(playerid, 2495.2952,-1686.4703,13.5142);
SetPlayerFacingAngle(playerid, 1.5667);
return 1;
}
CMD:lvair(playerid,params[])
{
SetPlayerPos(playerid,11614.5671,1163.2451,14.2188 );
SendClientMessage(playerid, -1, "Teleported to Las Venturas Airport!");
return 1;
}
CMDtuntroad(playerid,params[])
{
SetPlayerInterior(playerid,0);
if (GetPlayerState(playerid) == PLAYER_STATE_DRIVER)
{
LinkVehicleToInterior(GetPlayerVehicleID(playerid) ,0);
SetVehiclePos(GetPlayerVehicleID(playerid),-804.0,-566.0,2189.0);
SetVehicleZAngle(GetPlayerVehicleID(playerid),0.0) ;
}
else
{
SetPlayerPos(playerid,-804.0,-566.0,2189.0);
SetPlayerFacingAngle(playerid,0.0);
}
return 1;
}
CMDuperjump(playerid,params[])
{
SetPlayerInterior(playerid,0);
if (GetPlayerState(playerid) == PLAYER_STATE_DRIVER)
{
LinkVehicleToInterior(GetPlayerVehicleID(playerid) ,0);
SetVehiclePos(GetPlayerVehicleID(playerid),1794.0, 1828.0,668.0);
SetVehicleZAngle(GetPlayerVehicleID(playerid),0.0) ;
}
else
{
SetPlayerPos(playerid,1794.0,1828.0,668.0);
SetPlayerFacingAngle(playerid,0.0);
}
return 1;
}
CMD:lsair(playerid,params[])
{
SetPlayerPos(playerid,1922.0496,-2234.1985,13.5469);
SendClientMessage(playerid, -1, "Teleported To Los Santos Airport");
return 1;
}
return 0; <<------------- THE ERROR LINE IS HERE
}