[Pomoc] /jetpack


Započeo #Gimmyxa, April 26, 2016, 21:23:08 POSLE PODNE

prethodna tema - sledeća tema

0 članova i 1 gost pregledaju ovu temu.

Treba mi pomoc oko komande /jetpack, ne kontam u cemu je problem, mozete pmoci ? :)


Komanda
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;
	}


Includesi
#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>

daj mi te linije gde ti baca errore


samo to ubacis u prazan prostor, maknes ovo onplayercommandtext
TRAZIM MAPER, JAVITE MI SE NA PM.

Citat: Niksaâ,,¢ poslato April 27, 2016, 20:45:16 POSLE PODNE
samo to ubacis u prazan prostor, maknes ovo onplayercommandtext


(270) : error 035: argument type mismatch (argument 2)
(274) : error 035: argument type mismatch (argument 2)
http://prntscr.com/axlmfa