14.01.2013, 11:16
(
Последний раз редактировалось Neil.; 04.02.2013 в 17:42.
)
.......
CMD:jetpack(playerid, params[])
{
if(PlayerInfo[playerid][Admin] < 1) return SendClientMessage(playerid, 0xFFFFFF,"I love turtles");
AC_BS_SetPlayerJetpack(playerid);
return 1;
}
stock AC_BS_SetPlayerJetpack(playerid)
{
SetPVarInt(playerid, "JetpackProtection",1);
SetPlayerSpecialAction(playerid, SPECIAL_ACTION_USEJETPACK);
SetPVarInt(playerid, "SafeJet",1);
}
error 029: invalid expression, assumed zero
warning 215: expression has no effect
warning 215: expression has no effect
error 001: expected token: ";", but found ")"
fatal error 107: too many error messages on one line
stock AC_BS_SetPlayerJetpack(playerid)
{
SetPVarFloat(playerid, "JetpackProtection",1);
SetPlayerSpecialAction(playerid, SPECIAL_ACTION_USEJETPACK);
SetPVarFloat(playerid, "SafeJet",1); //The line which contains all of those errors , in the .inc file
}
SetPVarFloat(playerid. "SafeJet",1);