21.01.2010, 00:11
Well when i reach my checkpoints they still appear on map so its pretty anooyin it was suppost to destroy it self
if player Reaches it , can someone tell me was wrong?
if player Reaches it , can someone tell me was wrong?
Код:
if(strcmp(cmd, "/home", true) == 0) //By Ian_Stuart { if(PlayerInfo[playerid][pHouseX] == 0) return SendClientMessage(playerid,COLOR_GREY, "You don't even own a house!"); else if(GetPlayerInterior(playerid) != 0) return SendClientMessage(playerid,COLOR_GREY, "You must be outside of your house to use this command!"); else { new Float:housex = PlayerInfo[playerid][pHouseX]; new Float:housey = PlayerInfo[playerid][pHouseY]; new Float:housez = PlayerInfo[playerid][pHouseZ]; SetPlayerCheckpoint(playerid,housex,housey,housez,2.5); GoingHome[playerid] = 1; return 1; } }