Treba mi pomoc oko komande /jetpack, ne kontam u cemu je problem, mozete pmoci ? :)(http://i.imgur.com/PGb7cGQ.png)
Komanda[pawn]
CMD:jetpack( playerid, params[] ) {
new Float:Pos[ 3 ];
if( GetPlayerSpecialAction( playerid ) == SPECIAL_ACTION_USEJETPACK ) {
GetPlayerPos( playerid, Pos[ 0 ], Pos[ 1 ], Pos[ 2 ] );
SetPlayerPos( playerid, Pos[ 0 ], Pos[ 1 ], Pos[ 2 ]+2 );
SendInfoMessage( playerid, "Skinuo si jetpack te je unisten." );
}
else {
SetPlayerSpecialAction( playerid, SPECIAL_ACTION_USEJETPACK);
SendInfoMessage( playerid, "Uzeo si JetPack.");
}
return 1;
}[/pawn]
Includesi[pawn]#include <a_samp>
#include <a_objects>
#include <streamer>
#include <sscanf2>
#include <YSI\y_ini>
#include <YSI\y_iterate>
#include <YSI\y_timers>
#include <utils>
#include <zcmd>
#include <newsamp>
#include <progress2>
#include <mapandreas>
#include <mSelection>
#include <eSelection>
#include <GetVehicleColor>[/pawn]
Citat: Mr.Laky poslato April 27, 2016, 20:19:06 POSLE PODNE
daj mi te linije gde ti baca errore
http://prntscr.com/axlg2t ovo ?