13.07.2012, 16:31
try this in error 1:
you can see interior by using ingame commands /interior when you are in apartament
for 2 search a tutorial...
Код:
#include <a_samp> public OnPlayerCommandText(playerid, cmdtext[]) { if(strcmp(cmdtext, "/apartment", true,7)) { SetPlayerPos(playerid, -131.6455,-1635.9362,3.3750); SetPlayerInterior(playerid,interiorid) // because you want to teleport into an interior ... SendClientMessage(playerid, 0x00FF00AA, "You have teleported to Apartmet!."); return 1; } return 1; }
for 2 search a tutorial...