10.01.2008, 04:50
hmmm... shit happenz =)
Try to compile with return = 0
Bug with console-blocking disappears O_o
Try to compile with return = 0
Код:
#include <a_samp> public OnPlayerCommandText(playerid, cmdtext[]) { { if (strcmp("/telegy", cmdtext, true, 10) == 0) { new Float:X,Float:Y,Float:Z,Float:Angle, carid; GetPlayerPos(playerid,X,Y,Z); GetPlayerFacingAngle(playerid,Angle); carid = GetPlayerVehicleID(playerid); carid = CreateVehicle(562,X,Y,Z,Angle,-1,-1,600); AddVehicleComponent(carid,1034); AddVehicleComponent(carid,1038); AddVehicleComponent(carid,1147); AddVehicleComponent(carid,1010); AddVehicleComponent(carid,1073); ChangeVehiclePaintjob(carid,1); PutPlayerInVehicle(playerid,carid,0); TogglePlayerControllable(playerid,true); return SendClientMessage(playerid, 0x40FF40FF, "Tuned elegy has been spawned!"); } return 0; } }