Create3DTextProblem problem.
#2

Код:
    new NewName[258];
	if(sscanf(inputtext,"u",NewName)) return ShowPlayerDialog(playerid,36,DIALOG_STYLE_INPUT,"Business.","Type business name.","Create","Close");
	new file[258],NewOwner[MAX_PLAYER_NAME],msg[128];
    GetPlayerName(playerid,NewOwner,MAX_PLAYER_NAME);
	for(new i=0;i<MaxBusiness+1;i++){
	if(IsPlayerInRangeOfPoint(playerid,IejimuR,verslasDB[i][X],verslasDB[i][Y],verslasDB[i][Z])){
    verslasDB[i][name] = NewName;
	dini_Set(file,"Name",NewName);
	verslasDB[i][owner] = NewOwner;
	dini_Set(file,"Owner",NewOwner);
	Delete3DTextLabel(Business3D[i]);
	format(msg,128,"Bussines \"%s\"\nOwner: %s.",verslasDB[i][name],verslasDB[i][owner]);
	Business3D[i] = Create3DTextLabel(msg,Verslo3DSpalva,verslasDB[i][X],verslasDB[i][Y],verslasDB[i][Z],Distance3D,AllowTransparent);
Reply


Messages In This Thread
Create3DTextProblem problem. - by Martin_M - 25.02.2010, 16:44
Re: Create3DTextProblem problem. - by Martin_M - 25.02.2010, 16:49
Re: Create3DTextProblem problem. - by Martin_M - 25.02.2010, 17:03
Re: Create3DTextProblem problem. - by dice7 - 25.02.2010, 17:06
Re: Create3DTextProblem problem. - by Joe Staff - 25.02.2010, 17:06
Re: Create3DTextProblem problem. - by Martin_M - 25.02.2010, 17:23

Forum Jump:


Users browsing this thread: 1 Guest(s)