01.09.2016, 13:06
Quote:
Код:
CMD:mydoor(playerid, params[]) { if(PlayerInfo[playerid][pDoor1] == 1) { SetPlayerCheckpoint(playerd,DDinfo[pDoor1][Ex],DDinfo[pDoor2][Ey],DDinfo[pDoor3][Ez], 3.0); } else { SendClientMessage(playerid, COLOR_WHITE, "You don't own a door."); } return 1; } |
pDoor2 = Door2 ] => Player can own 3doors, like, pDoor1 = Doorid 12 | pDoor2 = Doorid 13 | pDoor3 = Doorid14
PDoor3 = Door3 ]
so the player owns 3 doors (12+13+14)
if i use your command, it won't work..