#include <a_samp>#include <zcmd>#include <sscanf2> new pPickup;public OnFilterScriptInit( ){ pPickup = CreatePickup( 1239, 2, -173.5799,2676.6624,62.8836, -1 );} public OnPlayerPickUpPickup( playerid, pickupid ){ if( pickupid == pPickup ) { SetPlayerInterior( playerid, 5 ); } return 1;
#include <a_samp>new pPickup;public OnFilterScriptInit( ){ pPickup = CreatePickup( 1239, 2, -173.5799,2676.6624,62.8836, -1 );} public OnPlayerEnterPickup(playerid, pickupid){ if( pickupid == pPickup ) { SetPlayerInterior( playerid, 5 ); } return 1;
SetPlayerPos(playerid,X,Y,Z);
I_Dexter[CL]\" post=\"277082\" timestamp=\"1337433294\"]Add meg az interiorba való belépéshez a kordinátát, és a kimenéshez is! Mert a SetPlayerPos(playerid,X,Y,Z); lemaradt...Ha nem így gondoltad és hülyeséget mondtam sorry :S [/quote]igy gondolta mert azt irta nem dobja be
#include <a_samp> new pPickup; public OnFilterScriptInit( ) { pPickup = CreatePickup( 1239, 2, -173.5799,2676.6624,62.8836, -1 ); } public OnPlayerPickUpPickup( playerid, pickupid ) { if( pickupid == pPickup ) { SetPlayerInterior( playerid, 5 ); SetPlayerPos(playerid, x, y, z); // x,y,z helyére a koordinátákat. } return 1;