Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Aici,este ce am modificat cu coordonatele Interiorului.
- if (PlayerInfo[playerid][pMember] == 13 || PlayerInfo[playerid][pLeader] == 13) //Ballas spawn
- {
- SetPlayerToTeamColor(playerid);
- SetPlayerPos(playerid, 964.106994,-53.205497,1001.124572);
- SetPlayerInterior(playerid,1);
- PlayerInfo[playerid][pInt] = 1;
- return 1;
- -----------------------------------------------------------------------------------------------------------
- if(strcmp(cmdtext, "/enter", true) == 0)
- {
- if(PlayerInfo[playerid][pMember] == 13 || PlayerInfo[playerid][pLeader] == 13)
- {
- if PlayerToPoint(5,playerid,1454.7601,750.8893,11.0234)
- *then
- {
- SetPlayerPos(playerid,964.106994,-53.205497,1001.124572);
- SetPlayerInterior(playerid,1);
- SendClientMessage(playerid,COLOR_1GREEN,"*** Welcome to Southern Pimps home kid ,enjoy !");
- return 1;
- }
- }
- -------------------------------------------------------------------------------------------------------------
- if(strcmp(cmdtext, "/exit", true) == 0)
- {
- if(PlayerInfo[playerid][pMember] == 13 || PlayerInfo[playerid][pLeader] == 13)
- {
- if PlayerToPoint(5,playerid,964.106994,-53.205497,1001.124572)
- *then
- {
- SetPlayerPos(playerid,1454.7601,750.8893,11.0234);
- SetPlayerInterior(playerid,0);
- return 1;
- }
- }
- -----------------------------------------------------------------------------------------------------------------
- if (newkeys==KEY_SECONDARY_ATTACK)
- {
- if(PlayerInfo[playerid][pMember] == 13 || PlayerInfo[playerid][pLeader] == 13)
- {
- if PlayerToPoint(5,playerid,1454.7601,750.8893,11.0234)
- *then
- {
- SetPlayerPos(playerid,964.106994,-53.205497,1001.124572);
- SetPlayerInterior(playerid,1);
- SendClientMessage(playerid,COLOR_1GREEN,"*** Welcome to Ballas home kid ,enjoy !");
- return 1;
- }
- }
- }
- ---------------------------------------------------------------------------------------------------------------------
- if (newkeys==KEY_SECONDARY_ATTACK)
- {
- if(PlayerInfo[playerid][pMember] == 13 || PlayerInfo[playerid][pLeader] == 13)
- {
- if PlayerToPoint(5,playerid,964.106994,-53.205497,1001.124572)
- *then
- {
- SetPlayerPos(playerid,1454.7601,750.8893,11.0234);
- SetPlayerInterior(playerid,0);
- return 1;
- }
- }
- }
Add Comment
Please, Sign In to add comment