16.02.2019, 13:16
PHP код:
#include <a_samp>
new sc;
public OnGameModeInit()
{
sc = CreatePickup(1318, 2, 704.4722, -442.9513, 16.3359, -1); //model, type, Float:X, Float:Y, Float:Z, Virtualworld.
return 1;
}
public OnPlayerPickUpPickup(playerid, pickupid)
{
if(pickupid == sc)
{
SetPlayerPos(playerid, 1267.663208,-781.323242,1091.906250 ); // Cords for interior
SendClientMessage(playerid, COLOR_RED , "You have been teleport-ed");
}
return 1;
}