Jump to content
  • 0

Problema Business RP


InvadeR

Question

Deci eu mi-am propus sa mai fac o Banka in LV,ca mai am una in LS si sa fie mai RP,iar banca din ls merg comenzile /withdraw /deposit /transfer cele necesare dar in LV nu merg zice ca nu sunt la Bank

Acstea is comenzile pentru Bank LV:

//--------------------------------------------[lvbank]-------------------------------------------------------------------
    if(strcmp(cmd, "/enterbank", true) == 0)
	{
	    if(IsPlayerConnected(playerid))
	    {
            	if(PlayerToPoint(3.0,playerid,2577.4104,1324.6970,10.8203))
	      	  	{
	      	  	    GameTextForPlayer(playerid, "~w~Las Venturas Atantis Bank!", 5000, 1);
			    	SetPlayerInterior(playerid,0);
               		SetPlayerPos(playerid,2319.714843,-14.838361,26.749565);
               		GivePlayerCash(playerid, -1000);
   				}
				else
				{
					SendClientMessage(playerid, COLOR_GREY, "   You are not near the door !");
	            	return 1;
 				}
		}
		return 1;
	}
	if(strcmp(cmd, "/exitbank", true) == 0)
	{
	    if(IsPlayerConnected(playerid))
	    {
            	if(PlayerToPoint(3.0,playerid,235.5078,108.6011,1010.2118))
	        	{
	        	    GameTextForPlayer(playerid, "~w~Las Venturas", 5000, 1);
               		SetPlayerPos(playerid,2577.4104,1324.6970,10.8203);
               		SetPlayerInterior(playerid,0);
	        	}
				else
				{
					SendClientMessage(playerid, COLOR_GREY, "   You are not near the door !");
	            	return 1;
 				}
		}
		return 1;
	}

Sper sa ma puteti ajuta cu problema mea.

Link to comment
Share on other sites

0 answers to this question

Recommended Posts

There have been no answers to this question yet

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.