01.04.2009, 16:45
k, I posted there... but i think that here i will get help faster than in GodFather topic...
I also tried to add next on /exit command:
after that, when I type /exit(In Market Cluckin Bell for example) I spawn at WillowField Pizza. I spawn at WillowField Pizza when i type /exit in others business'es too...
I also tried to add next on /exit command:
Код:
for(new i = 0; i < sizeof(BizzInfo); i++) { //printf("Bizz :%d",i); if (PlayerToPoint(3, playerid,BizzInfo[i][bExitX], BizzInfo[i][bExitY], BizzInfo[i][bExitZ])) { SetPlayerInterior(playerid,0); PlayerInfo[playerid][pInt] = 0; SetPlayerPos(playerid,BizzInfo[i][bEntranceX],BizzInfo[i][bEntranceY],BizzInfo[i][bEntranceZ]); PlayerInfo[playerid][pLocal] = 255; } //What i added if(i == 10)//Market Cluckin Bell { SetPlayerPos(playerid,X,Y,Z); } if(i == 11)//WillowField Cluckin Bell { SetPlayerPos(playerid,X,Y,Z); } if(i == 12));WillowField Pizza { SetPlayerPos(playerid,X,Y,Z); }