05.11.2010, 12:27
Код:
if(pickupid == MyPickup4) { Create3DTextLabel( "Vault", 0xFFFF00AA, 2455.6977,-1706.8764,1013.5078, 50.0, 0, 1 ); if(!IsPlayerAdmin(playerid)) { GameTextForPlayer(playerid, "~r~Hardcore Cookie Is Only Allowed In", 5000, 5); SendClientMessage(playerid,0xFF0006FF,"Hardcore_Cookie Is Only Allowed In"); } else { SetPlayerPos(playerid, 2144.3212,1627.8958,993.5761); SetPlayerInterior(playerid, 1); GameTextForPlayer(playerid, "~g~Welcome ~y~To ~p~Your ~b~Vault", 5000, 5); SendClientMessage(playerid,COLOR_YELLOW,"Welcome To Your Vault"); } }
and uhm on the else bit i want it to say their name and they have entered for example
Код:
%s has entered the vault