I name Alex
Умник
Здравствуйте, помогите мне пожалуйста.
PHP:
(29110) : warning 215: expression has no effect
(29110) : error 001: expected token: ";", but found "["
(29110) : error 029: invalid expression, assumed zero
(29110) : warning 215: expression has no effect
(29110) : error 001: expected token: ";", but found "]"
(29110) : fatal error 107: too many error messages on one line
PHP:
TrayInfo[Tray_Int][Coord_X] = coord_x;
PHP:
if(strcmp(cmd, "/tput", true) == 0)
{
if(GetPVarInt(playerid, "Tray") == 1)
{
RemovePlayerAttachedObject(playerid,5);
new Float: coord_x, Float: coord_y, Float: coord_z;
GetPlayerPos(playerid,coord_x,coord_y,coord_z);
ApplyAnimation(playerid,"CARRY","putdwn",4.1,0,1,1,0,1);
SetPVarInt(playerid, "Tray",0);
++ Tray_Int;
Pickup_Tray[Tray_Int] = CreateDynamicObject(2355, coord_x, coord_y, coord_z-0.95, -23.3600, 22.6000, 90.0);
TrayInfo[Tray_Int][Coord_X] = coord_x;
TrayInfo[Tray_Int][Coord_Y] = coord_y;
TrayInfo[Tray_Int][Coord_Z] = coord_z;
TrayInfo[Tray_Int][LabelText] = Create3DTextLabel("{91B20B} Поднять:\n{FFCD00}/tpick", 0x008080AA, TrayInfo[Tray_Int][Coord_X],TrayInfo[Tray_Int][Coord_Y],TrayInfo[Tray_Int][Coord_Z], 20.0,0);
return true;
}
else SendClientMessage(playerid, -1, "{999999}У вас нет с собой еды");
return true;
}
