09.07.2010, 19:11
no return 1.
look at my onplayerpickuppickup it works fine.
btw how did u post those stuff in pawn code?
look at my onplayerpickuppickup it works fine.
Код:
public OnPlayerPickUpPickup(playerid, pickupid) { if(pickupid == adminhouseenter) { GameTextForPlayer(playerid, "~g~Welcome To The Admin House", 3000, 3); SetPlayerInterior(playerid,7); SetPlayerPos(playerid,225.630997,1022.479980,1084.069946); } if(pickupid == adminclubenter) { GameTextForPlayer(playerid, "~g~Welcome To The Admin Club", 3000, 3); SetPlayerInterior(playerid,3); SetPlayerPos(playerid,-2637.69,1404.24,906.46); } if(pickupid == adminhouseinsideexit) { GameTextForPlayer(playerid, "~g~Exiting The Admin House", 3000, 3); SetPlayerInterior(playerid,0); SetPlayerPos(playerid,925.2908,2465.9124,13.6105); } if(pickupid == adminclubhouseexitinside) { GameTextForPlayer(playerid, "~g~Exiting The Admin Club", 3000, 3); SetPlayerInterior(playerid,0); SetPlayerPos(playerid,909.0367,2470.6970,10.8203); } if(pickupid == adminbaselshouseenter) { GameTextForPlayer(playerid, "~g~Welcome To The Admin House", 3000, 3); SetPlayerInterior(playerid,12); SetPlayerPos(playerid,2324.2312,-1146.8840,1050.7101); } if(pickupid == adminbaselshouseexit) { GameTextForPlayer(playerid, "~g~Exiting To The Admin House", 3000, 3); SetPlayerInterior(playerid,0); SetPlayerPos(playerid,259.9321,-1820.5751,5.0241); } }